of static method
Retrieves the theme data from the widget tree.
Returns the current GlassThemeData from the nearest GlassTheme ancestor. If no theme is found, returns GlassThemeData.fallback.
Implementation
static GlassThemeData of(BuildContext context) {
return GlassThemeHelpers.of(context);
}