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
| // ==UserScript== | |
| // @name 6 P.A.C.K. | |
| // @namespace http://tampermonkey.net/ | |
| // @version 3.1 | |
| // @description Portable Areal Combustion Kit for e6: A weapon to surpass metal gear. | |
| // @author binaryfloof | |
| // @icon https://em-content.zobj.net/source/microsoft-teams/400/firecracker_1f9e8.png | |
| // @supportURL https://gist.github.com/clragon/d833e65ef3d92b97d9ca7e741d6949fd | |
| // @updateURL https://gist.githubusercontent.com/clragon/d833e65ef3d92b97d9ca7e741d6949fd/raw/e621_comment_hammer_and_wrench.user.js | |
| // @downloadURL https://gist.githubusercontent.com/clragon/d833e65ef3d92b97d9ca7e741d6949fd/raw/e621_comment_hammer_and_wrench.user.js |
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:math'; | |
| import 'package:boxy/boxy.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(const App()); | |
| } | |
| class App extends StatelessWidget { |
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:math'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(const App()); | |
| class App extends StatelessWidget { | |
| const App({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 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(const App()); | |
| class App extends StatelessWidget { | |
| const App({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
| #!/bin/sh | |
| # Exit if no arguments are provided | |
| if [ "$#" -lt 1 ]; then | |
| echo "Usage: $0 <owner/repo> [command]" | |
| exit 1 | |
| fi | |
| # GitHub repository to download release from | |
| REPO=$1 |
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'; | |
| import 'proxy.dart'; | |
| /// [BottomNavigationBar] has a weird assert that checks for [Overlay]. | |
| /// Proxies do not work with that. This test can only run properly in release mode. | |
| void main() => runApp(const App()); | |
| class App extends StatelessWidget { | |
| const App({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 'dart:async'; | |
| import 'dart:typed_data'; | |
| import 'package:flutter/rendering.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| import 'dart:ui' as ui; | |
| /// A controller for a [PrintoutFrame]. | |
| /// | |
| /// Allows capturing the rendered image of the child widget. |
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/foundation.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| /// An internal representation of a child widget subtree that is a child of | |
| /// the [AnimatedIndexedStack]. | |
| /// | |
| /// This keeps track of animation controllers, keys, and the child widget. | |
| class _ChildEntry { | |
| _ChildEntry({ | |
| required this.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:collection/collection.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| import 'package:provider/single_child_widget.dart'; | |
| typedef SelectiveProviderBuilder0<R> = R Function(BuildContext context); | |
| typedef SelectiveProviderBuilder<T, R> = R Function( | |
| BuildContext context, | |
| T value, |
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:collection/collection.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:provider/provider.dart'; | |
| typedef GuardedProviderBuilder<T, R> = R Function( | |
| BuildContext context, | |
| T value, | |
| ); | |
| typedef GuardedProviderBuilder2<T, T2, R> = R Function( |