ChangeNotifierConsumer<T extends ChangeNotifier> constructor

ChangeNotifierConsumer<T extends ChangeNotifier>({
  1. Key? key,
  2. required T changeNotifier,
  3. required ChangeNotifierWidgetBuilder<T> builder,
})

Implementation

ChangeNotifierConsumer({
  Key? key,
  required this.changeNotifier,
  required this.builder,
}) : super(key: key);