maybeOf static method

AppResponsiveState? maybeOf(
  1. BuildContext context
)

Finds the nearest AppResponsiveState ancestor, if any.

Implementation

static AppResponsiveState? maybeOf(BuildContext context) =>
    context.findAncestorStateOfType<AppResponsiveState>();