changeNotifier<T extends ChangeNotifier> static method
ServiceWidget<ChangeNotifierService<T> >
changeNotifier<T extends ChangeNotifier>(
- T changeNotifier
Implementation
static ServiceWidget<ChangeNotifierService<T>> changeNotifier<
T extends ChangeNotifier>(T changeNotifier) =>
ServiceWidget(
init: (widget) =>
ChangeNotifierService(widget, changeNotifier: changeNotifier));