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
| // Water Doodle — single-file version for DartPad. | |
| // | |
| // This concatenates doodle_config.dart / doodle_engine.dart / doodle_painter.dart / | |
| // main.dart from lib/ into one file. It uses no fragment shader; a pure Dart | |
| // implementation that simply stacks two layers of blurred circles via | |
| // MaskFilter.blur. | |
| // | |
| // Usage: open https://dartpad.dev/, select all, paste this content, and Run. | |
| // | |
| // NOTE: lib/ is the source of truth. Do not edit this file directly; sync it |
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
| // "Nets of Solids" — a self-contained, single-file version | |
| // | |
| // Extracted from a math-experience app for elementary school kids | |
| // (private repository) as a single runnable screen for sharing as a Gist. | |
| // No external packages (Flutter standard APIs only). | |
| // | |
| // How to run: | |
| // flutter create net_folding_demo | |
| // cd net_folding_demo | |
| // (replace lib/main.dart with this file) |
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/material.dart'; | |
| void main() { | |
| runApp(const MainApp()); | |
| } | |
| class MainApp extends StatelessWidget { | |
| const MainApp({super.key}); | |
| @override |
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/material.dart'; | |
| void main() => runApp(const MyApp()); | |
| class MyApp extends StatefulWidget { | |
| const MyApp({super.key}); | |
| @override | |
| State<MyApp> createState() => _MyAppState(); | |
| } |
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:math'; | |
| import 'package:animated_to/animated_to.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MaterialApp(home: GraphDemoPage())); | |
| class GraphDemoPage extends StatefulWidget { | |
| const GraphDemoPage({super.key}); |
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:animated_to/animated_to.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MaterialApp(home: DraggableDemoPage())); | |
| class DraggableDemoPage extends StatefulWidget { | |
| const DraggableDemoPage({super.key}); | |
| @override | |
| State<DraggableDemoPage> createState() => _DraggableDemoPageState(); |
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:animated_to/animated_to.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(const MyApp()); | |
| class MyApp extends StatefulWidget { | |
| const MyApp({super.key}); | |
| @override | |
| State<MyApp> createState() => _MyAppState(); |
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:animated_to/animated_to.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MaterialApp(home: DraggableDemoPage())); | |
| class DraggableDemoPage extends StatefulWidget { | |
| const DraggableDemoPage({super.key}); | |
| @override | |
| State<DraggableDemoPage> createState() => _DraggableDemoPageState(); |
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/material.dart'; | |
| void main() { | |
| runApp(const MaterialApp(home: SimpleDemo())); | |
| } | |
| class SimpleDemo extends StatefulWidget { | |
| const SimpleDemo({super.key}); | |
| @override |
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/material.dart'; | |
| void main() => runApp(MaterialApp(home: MoveBasicPage())); | |
| class MoveBasicPage extends StatefulWidget { | |
| const MoveBasicPage({super.key}); | |
| @override | |
| State<MoveBasicPage> createState() => MoveBasicPageState(); | |
| } |
NewerOlder