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