highContrastColor property Null safety
final
The color to use when the BuildContext implies a combination of light mode, high contrast, and base interface elevation.
In other words, this color will be the effective color of the CupertinoDynamicColor after it is resolved against a BuildContext that:
- has a CupertinoTheme whose CupertinoThemeData.brightness is Brightness.light, or a MediaQuery whose MediaQueryData.platformBrightness is Brightness.light.
- has a MediaQuery whose MediaQueryData.highContrast is
true
. - has a CupertinoUserInterfaceLevel that indicates CupertinoUserInterfaceLevelData.base.
Implementation
final Color highContrastColor;