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