highContrastDarkTheme property

ThemeData? highContrastDarkTheme

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:


final ThemeData? highContrastDarkTheme;