rebuild<T extends InheritedWidget> static method

void rebuild<T extends InheritedWidget>()

Calls the build() function in this Widget's State object.

Implementation

static void rebuild<T extends InheritedWidget>() {
  //
  final inheritedWidget = _states[_type<T>()];

  inheritedWidget?.setState(() {});
}