defaultColor static method
default color scheme
Implementation
static JsonColorScheme defaultColor(BuildContext context) {
Brightness brightness = Theme.of(context).brightness;
if (brightness == Brightness.dark) {
return defaultDarkColorScheme;
} else {
return defaultLightColorScheme;
}
}