notifyClients method Null safety

  1. @override
void notifyClients(
  1. covariant ParentDataWidget<T> oldWidget
)
override

Notify other objects that the widget associated with this element has changed.

Called during update (via updated) after changing the widget associated with this element but before rebuilding this element.

Implementation

@override
void notifyClients(ParentDataWidget<T> oldWidget) {
  _applyParentData(widget);
}