darkHighContrastColor property Null safety
final
The color to use when the BuildContext implies a combination of dark 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.dark, or a MediaQuery whose MediaQueryData.platformBrightness is Brightness.dark.
- has a MediaQuery whose MediaQueryData.highContrast is
true
. - has a CupertinoUserInterfaceLevel that indicates CupertinoUserInterfaceLevelData.base.
Implementation
final Color darkHighContrastColor;