
Flutter/Riverpod
Flutter) Riverpod refresh / invalidate - 6
invalidate final countProvider = StateProvider((ref) => 0); class HomePage extends ConsumerWidget { const HomePage({Key? key}) : super(key: key); @override Widget build(BuildContext context, WidgetRef ref) { print("HomePage Build"); return Scaffold( body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Text("Hello World"), Consumer( builder: (context, ref, widget)..