π¦
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
| /* | |
| * Sunflower V2 β 100K animated dots on a single layer with spring physics. | |
| * https://gist.github.com/PlugFox/0a0ee8ba7dc3679b86f2d8b4aab01569 | |
| * https://dartpad.dev?id=0a0ee8ba7dc3679b86f2d8b4aab01569 | |
| * Mike Matiunin <plugfox@gmail.com>, 26 March 2026 | |
| */ | |
| //ignore_for_file: curly_braces_in_flow_control_structures | |
| import 'dart:async'; |
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'; | |
| /// ΠΡΠ» ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ² Ρ ΡΠ΅Π»ΠΎΡΠΈΡΠ»Π΅Π½Π½ΡΠΌΠΈ ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΎΡΠ°ΠΌΠΈ ΠΈ ΠΏΠ΅ΡΠ΅ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ΠΌ ID. | |
| /// | |
| /// ΠΠ½ΡΡΡΠ΅Π½Π½Π΅Π΅ ΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ (sparse-set + recycle-stack): | |
| /// | |
| /// βββββββββββ βββββββββββ | |
| /// β sparse β id βββΆ β dense β dense idx βββΆ data[idx] | |
| /// βUint32Listβ βUint32Listβ | |
| /// βββββββββββ βββββββββββ |
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
| /* | |
| * Form State Management | |
| * https://gist.github.com/PlugFox/eed8aaa9fe83a032f17139e8b1814986 | |
| * https://dartpad.dev/?id=eed8aaa9fe83a032f17139e8b1814986 | |
| */ | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(const App()); |
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
| /* | |
| * Password validation | |
| * https://gist.github.com/PlugFox/b6aa1d256e6900424c74aa75136c9aef | |
| * https://dartpad.dev?id=b6aa1d256e6900424c74aa75136c9aef | |
| * Mike Matiunin <plugfox@gmail.com>, 17 March 2026 | |
| */ | |
| // ignore_for_file: curly_braces_in_flow_control_structures | |
| void main() { |
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
| /* | |
| * SliverLayout | |
| * https://gist.github.com/PlugFox/53636071587beeff1527f1ff48e5a969 | |
| * https://dartpad.dev?id=53636071587beeff1527f1ff48e5a969 | |
| * Mike Matiunin <plugfox@gmail.com>, 13 March 2026 | |
| */ | |
| // ignore_for_file: library_private_types_in_public_api | |
| import 'dart:math' as math; |
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:convert'; | |
| import 'dart:io' as io; | |
| import 'package:http/http.dart' as http; | |
| final $log = io.stdout.writeln; // Log to stdout | |
| final $err = io.stderr.writeln; // Log to stderr | |
| void main() => Future<void>(() async { | |
| const appId = "6743122346"; // Doctorina app ID on the App Store, without the 'id' prefix |
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
| /* | |
| * Extension type | |
| * https://gist.github.com/PlugFox/5593eafa163371223c7c2068266cc1b7 | |
| * https://dartpad.dev?id=5593eafa163371223c7c2068266cc1b7 | |
| * Mike Matiunin <plugfox@gmail.com>, 30 January 2026 | |
| */ | |
| import 'dart:convert'; | |
| void main() { |
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:async'; | |
| import 'dart:convert' show Utf8Decoder, JsonDecoder; | |
| import 'dart:math' as math; | |
| import 'package:flutter/foundation.dart' show ValueListenable, ValueNotifier; | |
| import 'package:meta/meta.dart'; | |
| import 'api_client.dart'; | |
| /// A typedef representing a Server-Sent Event (SSE) event. |
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
| /* | |
| * Questions example | |
| * https://gist.github.com/PlugFox/66bca21faaaf8613857ade983c78a47b | |
| * https://dartpad.dev?id=66bca21faaaf8613857ade983c78a47b | |
| * Mike Matiunin <plugfox@gmail.com>, 13 January 2026 | |
| */ | |
| // ignore_for_file: curly_braces_in_flow_control_structures, avoid_print | |
| import 'dart:async'; |
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
| /* | |
| * Pop and Push Demo | |
| * https://gist.github.com/PlugFox/52c08d44d4074d37c236528b058eedd7 | |
| * https://dartpad.dev?id=52c08d44d4074d37c236528b058eedd7 | |
| * Mike Matiunin <plugfox@gmail.com>, 13 January 2026 | |
| */ | |
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; |
NewerOlder