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