MinProvider<T extends ChangeNotifier> constructor

const MinProvider<T extends ChangeNotifier>({
  1. Key? key,
  2. required T controller,
  3. required Widget child,
})

Creates a MinProvider widget.

The controller parameter must not be null and is the instance of ChangeNotifier that will be provided to the widget tree. The child parameter must not be null and is the widget below this widget in the tree.

Implementation

const MinProvider({
  Key? key,
  required this.controller,
  required Widget child,
}) : super(key: key, child: child);