buildInherited method

  1. @Deprecated('Replaced by the recognized function, notifyClients')
void buildInherited()
inherited

Rebuild the InheritedWidget of the 'closes' InheritedStateX object if any.

Implementation

@Deprecated('Replaced by the recognized function, notifyClients')
void buildInherited() {
  final state = context.findAncestorStateOfType<InheritedStateX>();
  state?.notifyClients();
}