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'; | |
| import 'package:hooks_riverpod/hooks_riverpod.dart'; | |
| typedef User = ({String id, String firstName, String lastName}); | |
| // some future provider that holds some value | |
| final userProvider = FutureProvider((ref) async { | |
| await Future.delayed(Duration(milliseconds: 200)); |
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'; | |
| import 'package:hooks_riverpod/hooks_riverpod.dart'; | |
| const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| // some future provider that holds some value | |
| final sourceProvider = FutureProvider((ref) async { | |
| await Future.delayed(Duration(seconds: 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 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:hooks_riverpod/hooks_riverpod.dart'; | |
| const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| final sourceProvider = FutureProvider((ref) async { | |
| await Future.delayed(Duration(seconds: 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 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:hooks_riverpod/hooks_riverpod.dart'; | |
| const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| final sourceProvider = FutureProvider((ref) async { | |
| await Future.delayed(Duration(seconds: 1)); |
This file has been truncated, but you can view the full 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
| /****************************************************************************** | |
| ** This file is an amalgamation of many separate C source files from SQLite | |
| ** version 3.43.1. By combining all the individual C code files into this | |
| ** single large file, the entire code can be compiled as a single translation | |
| ** unit. This allows many compilers to do optimizations that would not be | |
| ** possible if the files were compiled separately. Performance improvements | |
| ** of 5% or more are commonly seen when SQLite is compiled as a single | |
| ** translation unit. | |
| ** | |
| ** This file is all you need to compile SQLite. To use SQLite in other |
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 'dart:ui'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_hooks/flutter_hooks.dart'; | |
| void main() { | |
| runApp(const MyApp()); | |
| } |
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 'dart:math' as math; | |
| import 'dart:ui' as ui; | |
| const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| void main() { | |
| runApp(MyApp()); | |
| } |
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 Let<T extends Object> on T? { | |
| S? let<S>(S Function(T) f) { | |
| final self = this; | |
| if(self == null){ | |
| return null; | |
| } | |
| return f(self); | |
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
| BRANCH=refs/remotes/origin/main | |
| LAST_REV=$(git rev-parse --verify $BRANCH) | |
| LAST_TAG=$(git describe --tag --abbrev=0 $LAST_REV) | |
| COMMIT_COUNT=$(git rev-list --count $BRANCH $LAST_TAG..) | |
| if [ $COMMIT_COUNT = 0 ]; then | |
| echo "Nothing to build! No commits since $LAST_TAG on $BRANCH." | |
| exit 0; |
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'; | |
| const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override |