HookConsumerWidget constructor

const HookConsumerWidget({
  1. 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({super.key});