maybeOf static method
Retrieves the GlassTheme from the widget tree.
Returns null if no GlassTheme ancestor exists.
Implementation
static GlassTheme? maybeOf(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<GlassTheme>();
}