of static method
Implementation
static AppTheme of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<InheritedAppTheme>()!
.theme;
}
static AppTheme of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<InheritedAppTheme>()!
.theme;
}