of static method

SideMenuState? of(
  1. BuildContext? context
)

Implementation

static SideMenuState? of(BuildContext? context) {
  assert(context != null);
  return context?.findAncestorStateOfType<SideMenuState>();
}