of static method

The options of the closest GlassTabBarDebug, or the defaults.

Implementation

static GlassTabBarDebugOptions of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<GlassTabBarDebug>()?.options ??
    const GlassTabBarDebugOptions();