build method
Subclasses should override this function to actually call the appropriate
build
function (e.g., StatelessWidget.build or State.build) for
their widget.
Implementation
@override
Widget build() {
_removeDependencies();
notifyClients(super.widget as InheritedWidget);
return super.build();
}