of static method
Implementation
static AppColor of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<ColorProvider>()?.color ?? lightTheme;
}
static AppColor of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<ColorProvider>()?.color ?? lightTheme;
}