of

context

);

The of(context) call takes the build context (a handle to the current widget
location), and returns the nearest ancestor in the
tree
that matches the StudentState type. InheritedWidgets also offer an
updateShouldNotify() method, which Flutter calls to determine whether a state
change should trigger a rebuild of child widgets that use it.

properties like color and type
styles that are
pervasive throughout an application. The

This approach is also used for
Navigator, which provides
page routing; and
MediaQuery, which provides
access to screen metrics such as orientation, dimensions, and brightness.