isInvertedColorsEnabled static method
- BuildContext context
Check if inverted colors are enabled.
Implementation
static bool isInvertedColorsEnabled(BuildContext context) {
return MediaQuery.of(context).invertColors;
}
Check if inverted colors are enabled.
static bool isInvertedColorsEnabled(BuildContext context) {
return MediaQuery.of(context).invertColors;
}