of static method
The data from the closest TabbedViewTheme instance that encloses the given context.
Implementation
static TabbedViewThemeData of(BuildContext context) {
final _InheritedTheme? inheritedTheme =
context.dependOnInheritedWidgetOfExactType<_InheritedTheme>();
final TabbedViewThemeData data =
inheritedTheme?.theme.data ?? _defaultTheme;
return data;
}