HookConsumerWidget constructor
const
HookConsumerWidget({
- Key? key,
A widget that can both use hooks and listen to providers.
If you do not need hooks, you can use Consumer.
Implementation
const HookConsumerWidget({Key? key}) : super(key: key);