This file contains 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
/* | |
* Custom layout with Flutter | |
* https://gist.github.com/PlugFox/8dbafc696927ab7111d03250cc01b712 | |
* https://dartpad.dev?id=8dbafc696927ab7111d03250cc01b712 | |
* Mike Matiunin <plugfox@gmail.com>, 22 September 2024 | |
*/ | |
import 'dart:math' as math; | |
import 'package:flutter/material.dart'; |
This file contains 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
/* | |
* Behavior distinct | |
* https://gist.github.com/PlugFox/d2afc6bd33c138e9ef0e6c74f405c779 | |
* https://dartpad.dev?id=d2afc6bd33c138e9ef0e6c74f405c779 | |
* Mike Matiunin <plugfox@gmail.com>, 27 August 2024 | |
*/ | |
// ignore_for_file: avoid_print | |
import 'dart:async'; |
This file contains 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'; | |
import 'package:flutter/rendering.dart'; | |
import 'dart:math' as math; | |
class CustomLayout extends MultiChildRenderObjectWidget { | |
CustomLayout({ | |
Key key, | |
List<Widget> children = const <Widget>[], | |
}) : super(key: key, children: children); |
This file contains 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
/* | |
* Generator of random words, sentences and paragraphs. | |
* https://gist.github.com/PlugFox/153b79283ada0035da24f44499462e05 | |
* https://dartpad.dev?id=153b79283ada0035da24f44499462e05 | |
* Mike Matiunin <plugfox@gmail.com>, 06 August 2024 | |
*/ | |
// ignore_for_file: avoid_print | |
import 'dart:convert'; |
This file contains 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'; | |
import 'dart:math' as math; | |
import 'dart:ui'; | |
void main() => runApp( | |
MaterialApp( | |
home: Scaffold( | |
body: SafeArea( | |
child: GridView.count( | |
padding: EdgeInsets.all(32.0), |
This file contains 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
/* | |
* Animated Painter | |
* https://gist.github.com/PlugFox/3a778c8cdad13ea5676b642739fc8dcc | |
* https://dartpad.dev?id=3a778c8cdad13ea5676b642739fc8dcc | |
* Mike Matiunin <plugfox@gmail.com>, 20 July 2024 | |
*/ | |
import 'dart:async'; |
This file contains 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
// ==UserScript== | |
// @name Auto Scroll Toggle for comick.io | |
// @namespace plugfox | |
// @version 1.0 | |
// @description Toggle auto scroll on and off with a hotkey, and stop on page blur | |
// @author @plugfox | |
// @run-at document-idle | |
// @homepage https://gist.github.com/PlugFox/7315cad8ef028e2751f4a971ca9d59e9 | |
// @homepageURL https://gist.github.com/PlugFox/7315cad8ef028e2751f4a971ca9d59e9 | |
// @match *://comick.io/* |
This file contains 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
/* | |
* Custom Clipper Ticket with Circular Cutouts (Serrator) | |
* https://gist.github.com/PlugFox/9ab286842c7fab41dd8181a9f3a8461b | |
* https://dartpad.dev?id=9ab286842c7fab41dd8181a9f3a8461b | |
* Mike Matiunin <plugfox@gmail.com>, 13 July 2024 | |
*/ | |
import 'package:flutter/material.dart'; | |
void main() => runApp( |
This file contains 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
/* | |
* Authentication management example | |
* HttpClient <--> AuthenticationController <--> Navigator or LoginScreen | |
* | |
* https://gist.github.com/PlugFox/538d7cfdd7149770925fe4f434fc2e84 | |
* https://dartpad.dev?id=538d7cfdd7149770925fe4f434fc2e84 | |
* Mike Matiunin <plugfox@gmail.com>, 12 July 2024 | |
*/ | |
import 'dart:async'; |
This file contains 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
/* | |
* Controlled Stateful Widget | |
* https://gist.github.com/PlugFox/629202b0a7bcde8de3a7503bd33308bc | |
* https://dartpad.dev?id=629202b0a7bcde8de3a7503bd33308bc | |
* Mike Matiunin <plugfox@gmail.com>, 05 July 2024 | |
*/ | |
import 'dart:async'; | |
import 'package:flutter/material.dart'; |
NewerOlder