π¦
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * InkyIcon widget. | |
| * https://gist.github.com/PlugFox/097c35feb4cc3da7a4bce2d902b3a75b | |
| * https://dartpad.dev?id=097c35feb4cc3da7a4bce2d902b3a75b | |
| * Mike Matiunin <[email protected]>, 19 November 2025 | |
| */ | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Superellipse Input Border for Flutter | |
| * https://gist.github.com/PlugFox/73fdd4f3d366a8f3e8662768226af36f | |
| * https://dartpad.dev?id=73fdd4f3d366a8f3e8662768226af36f | |
| * Mike Matiunin <[email protected]>, 19 November 2025 | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // dart run bin/make_pdf.dart | |
| import 'dart:io'; | |
| import 'dart:typed_data'; | |
| void main() async { | |
| final pdf = _PdfBuilder(); | |
| // Register built-in Type1 fonts (Base-14): Helvetica & Helvetica-Bold | |
| final fontRegular = pdf.addRawObject( | |
| '<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ignore_for_file: avoid_print | |
| import 'dart:ffi' as ffi; | |
| import 'package:benchmark_harness/benchmark_harness.dart'; | |
| import 'package:ffi/ffi.dart'; | |
| // ============================================================================ | |
| // Pure Dart LinkedList Implementation | |
| // ============================================================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void Function() dispose = () {dispose = () {};}; | |
| void disposable(void Function() fn) { | |
| final $ = dispose; | |
| dispose = () { | |
| try { | |
| fn(); | |
| } finally { | |
| $(); | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Deep copy of Map in Dart. | |
| * https://gist.github.com/PlugFox/d651661f465199195edd1c08834b04e8 | |
| * https://dartpad.dev?id=d651661f465199195edd1c08834b04e8 | |
| * Mike Matiunin <[email protected]>, 16 October 2025 | |
| */ | |
| import 'dart:convert' show JsonEncoder; | |
| extension type const CopyMap<K, V>._(Map<K, V> _source) implements Map<K, V> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Dots Loading Indicator | |
| * https://gist.github.com/PlugFox/e486dcaf99d958973a1f1b1cddea789b | |
| * https://dartpad.dev?id=e486dcaf99d958973a1f1b1cddea789b | |
| * Mike Matiunin <[email protected]>, 14 October 2025 | |
| */ | |
| // ignore_for_file: curly_braces_in_flow_control_structures | |
| import 'dart:typed_data'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:typed_data' show Uint8List; | |
| import 'package:meta/meta.dart' show immutable; | |
| import 'drop_zone_stream_vm.dart' | |
| // ignore: uri_does_not_exist | |
| if (dart.library.js_interop) 'drop_zone_stream_js.dart'; | |
| /// {@template drop_zone_event} | |
| /// Events emitted by the [DropZone] stream. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/gestures.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:localization/localization.dart'; | |
| /* | |
| * I consent to the processing of personal data, | |
| * the use of <c>cookies</c>, | |
| * agree to the <t>terms and conditions</t>, | |
| * and acknowledge the <p>privacy policy</p>. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:doctorina/src/profile/model/profile_data_codecs.dart'; | |
| import 'package:flutter/foundation.dart'; | |
| typedef ProfileId = String; | |
| @immutable | |
| class Profile { | |
| const Profile({ | |
| required this.id, | |
| required this.name, |
NewerOlder