buildInherited method

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

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();
}