ChangeNotifierSelector<T, D extends Listenable> constructor

ChangeNotifierSelector<T, D extends Listenable>({
  1. required D parent,
  2. required ShouldNotify<T, D> notifyValue,
  3. Object? key,
})

Implementation

ChangeNotifierSelector(
    {required this.parent, required this.notifyValue, this.key})
    : _value = notifyValue(parent);