of static method

SideMenuState? of(
  1. BuildContext context
)

Implementation

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