InheritedNotifier<T extends Listenable> constructor

const InheritedNotifier<T extends Listenable>(
  1. {Key? key,
  2. T? notifier,
  3. required Widget child}
)

Create an inherited widget that updates its dependents when notifier sends notifications.

Implementation

const InheritedNotifier({
  super.key,
  this.notifier,
  required super.child,
});