NotifierBinding<T> constructor

NotifierBinding<T>({
  1. required Binding<T> binding,
  2. required ChangeNotifier notifier,
  3. required VoidCallback notifyListener,
  4. required VoidCallback onChange,
})

Implementation

NotifierBinding({
  required this.binding,
  required this.notifier,
  required this.notifyListener,
  required this.onChange,
}) {
  notifier.addListener(notifyListener);
}