of static method
Finds the nearest BoxDrawerState ancestor of the given context.
Implementation
static SlideDrawerState? of(BuildContext context) =>
context.findAncestorStateOfType<SlideDrawerState>();
Finds the nearest BoxDrawerState ancestor of the given context.
static SlideDrawerState? of(BuildContext context) =>
context.findAncestorStateOfType<SlideDrawerState>();