propagateNotification property Null safety

bool propagateNotification

The boolean that indicates if the notification from its children should propagate.

When it is true (default value), this NotifiableList will notify all its listeners when a child notify its listeners as well.

Implementation

bool get propagateNotification => _propagateNotification;
void propagateNotification=(bool value)

The boolean that indicates if the notification from its children should propagate.

When it is true (default value), this NotifiableList will notify all its listeners when a child notify its listeners as well.

Implementation

set propagateNotification(bool value) {
  if (_propagateNotification != value) {
    _propagateNotification = value;
    if (_propagateNotification)
      _startPropagateNotification();
    else
      _stopPropagateNotification();
  }
}