highContrastDarkTheme property
final
The ThemeData to use when a 'dark mode' and 'high contrast' is requested by the system.
Some host platforms (for example, iOS) allow the users to increase contrast through an accessibility setting.
This theme should have a ThemeData.brightness set to Brightness.dark.
Uses darkTheme instead when null.
See also:
- MediaQueryData.highContrast, which indicates the platform's desire to increase contrast.
Implementation
final ThemeData? highContrastDarkTheme;