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_hooks/flutter_hooks.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
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'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
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 "dart:async"; | |
import "dart:isolate"; | |
import 'package:ferry/ferry.dart'; | |
import 'package:ferry/ferry_isolate.dart'; | |
import "package:gql_error_link/gql_error_link.dart"; | |
import "package:gql_exec/gql_exec.dart"; | |
import "package:gql_http_link/gql_http_link.dart"; | |
import "package:gql_link/gql_link.dart"; | |
import "package:gql_transform_link/gql_transform_link.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
import 'package:ferry/ferry.dart'; | |
import 'package:gql/ast.dart'; | |
import 'package:gql_dio_link/gql_dio_link.dart'; | |
import 'package:gql_exec/gql_exec.dart' as gql_exec; | |
// ignore_for_file: depend_on_referenced_packages | |
typedef ExceptionHandler = Stream<Response>? Function( | |
Request request, | |
NextLink forward, |
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 '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(const Duration(milliseconds: 200)); |
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 '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(const Duration(milliseconds: 200)); |
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 '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 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 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 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)); |
NewerOlder