initInheritedState<V extends InheritedWidget> method

InheritedStatefulWidget<InheritedWidget> initInheritedState<V extends InheritedWidget>(
  1. V inheritedWidgetBuilder(
    1. Widget child
    )
)

Initialize the InheritedWidget State object Create the StatefulWidget to contain the InheritedWidget

Implementation

InheritedStatefulWidget initInheritedState<V extends InheritedWidget>(
        V Function(Widget child) inheritedWidgetBuilder) =>
    InheritedStatefulWidget<V>(
        key: _inheritedKey,
        inheritedWidgetBuilder: inheritedWidgetBuilder,
        // child: _BuildBuilder(key: GlobalKey(), builder: buildIn));
        child: _BuildBuilder(builder: buildIn));