of static method

ZoomDrawerState? of(
  1. BuildContext context
)

static function to provide the drawer state

Implementation

static ZoomDrawerState? of(BuildContext context) =>
    context.findAncestorStateOfType<ZoomDrawerState>();