of<T> static method
Implementation
@Deprecated('context.themeOf<T>() instead')
static CustomTheme<T> of<T>(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<CustomTheme<T>>()!;
}
@Deprecated('context.themeOf<T>() instead')
static CustomTheme<T> of<T>(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<CustomTheme<T>>()!;
}