of static method

Implementation

static SelectedIndexInheritedWidget? of(BuildContext context) {
  return context
      .dependOnInheritedWidgetOfExactType<SelectedIndexInheritedWidget>();
}