HookConsumer constructor
A widget that can both use hooks and listen to providers.
If you do not need hooks, you can use ConsumerWidget and its variants.
Implementation
const HookConsumer({super.key, required this.builder, this.child});
A widget that can both use hooks and listen to providers.
If you do not need hooks, you can use ConsumerWidget and its variants.
const HookConsumer({super.key, required this.builder, this.child});