maybeOf static method
Finds the nearest AppResponsiveState ancestor, if any.
Implementation
static AppResponsiveState? maybeOf(BuildContext context) =>
context.findAncestorStateOfType<AppResponsiveState>();
Finds the nearest AppResponsiveState ancestor, if any.
static AppResponsiveState? maybeOf(BuildContext context) =>
context.findAncestorStateOfType<AppResponsiveState>();