maybeOf static method

GlassVerticalBarData? maybeOf(
  1. BuildContext context
)

The strip bars below context should use, or null where they are horizontal — on every device but iPhone Duo, in inner portrait, with no GlassNavigationShell above, with GlassVerticalBarBehavior.disabled, or under GlassVerticalBar.disabled.

Implementation

static GlassVerticalBarData? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<GlassVerticalBar>()?.data;