initInheritedState<U extends InheritedWidget> method
Traditionally called in the initState() function
Implementation
void initInheritedState<U extends InheritedWidget>(
U Function(Widget child) inheritedWidgetBuilder) {
// Create the StatefulWidget to contain the InheritedWidget
// GlobalKey to 'keep' this StatefulWidget's state during it lifetime.
_inheritedStatefulWidget = InheritedStatefulWidget<U>(
key: GlobalKey(),
inheritedWidgetBuilder: inheritedWidgetBuilder,
child: _BuildBuilder(key: GlobalKey(), builder: buildChild));
}