maybeOf static method

GlassBackdropController? maybeOf(
  1. BuildContext context
)

The nearest backdrop's controller, if any.

Implementation

static GlassBackdropController? maybeOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<_GlassBackdropScope>()?.controller;