ChangeableProvider<T extends ChangeNotifier>.value constructor

ChangeableProvider<T extends ChangeNotifier>.value({
  1. Key? key,
  2. required T listenable,
  3. Widget? child,
})

Implementation

ChangeableProvider.value({
  Key? key,
  required T listenable,
  Widget? child,
})  : create = ((context) => listenable),
      dispose = null,
      super(key: key, child: child);