An InheritedModel is a subclass of InheritedWidget , so it works the same in those instances, but adds some extra useful functionality. When using an InheritedWidget, all subscribed children are updated whenever the data is updated.
An InheritedModel is a subclass of InheritedWidget , so it works the same in those instances, but adds some extra useful functionality. When using an InheritedWidget, all subscribed children are updated whenever the data is updated.