Consumer<T> constructor
Consumer<T> ({
- Key? key,
- required Widget builder(
- BuildContext context,
- T value,
- Widget? child
- Widget? child,
Consumes a Provider<T>
Implementation
Consumer({
Key? key,
required this.builder,
Widget? child,
}) : super(key: key, child: child);