Getting error when trying to add WidgetRef parameter to the build method in Flutter

Issue void main() async { WidgetsFlutterBinding.ensureInitialized(); await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, ); runApp( const ProviderScope( child: MyApp(), ), ); } class MyApp extends HookWidget { const MyApp({super.key}); @override Widget build(BuildContext context, WidgetRef ref) { Future<DocumentSnapshot<Map<String, dynamic>>> getUserData(userId) async { final userData

Continue reading

Is there a use for hooks_riverpod

Issue I’m kinda confused as to what exactly the aim is with hooks_riverpod, I’ve used flutter_riverpod, and I’ve used flutter_hooks, but what is hooks_riverpod, on the pub.dev main page for hooks_riverpod, it’s documentation is just flutter_riverpod documentation, there’s not a

Continue reading