glassOf static method

bool glassOf(
  1. BuildContext context
)

Whether a button here stands on glass of its own.

Implementation

static bool glassOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<_GlassButtons>()?.glass ??
    false;