InheritedNotifier<T extends Listenable> constructor

const InheritedNotifier<T extends Listenable>({Key key, T notifier, @required Widget child })

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

The child argument must not be null.

Implementation

const InheritedNotifier({
  Key key,
  this.notifier,
  @required Widget child,
}) : assert(child != null),
     super(key: key, child: child);