ChangeNotifierProvider<T extends ChangeNotifier> constructor

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

Implementation

const ChangeNotifierProvider({
  super.key,
  required this.child,
  required this.data,
});