defaultQualityOf static method
Returns the defaultQuality from the nearest GlassIsolationScope,
or null if none is set.
Implementation
static GlassQuality? defaultQualityOf(BuildContext context) {
final scope =
context.dependOnInheritedWidgetOfExactType<GlassIsolationScope>();
return scope?.defaultQuality;
}