CompositeNotifier constructor

CompositeNotifier(
  1. List<Listenable> notifiers
)

Implementation

CompositeNotifier(List<Listenable> notifiers)
  : _notifiers = List.from(notifiers) {
  for (final notifier in _notifiers) {
    notifier.addListener(_onChildChanged);
  }
}