invertColors property

bool invertColors
final

Whether the operating system is currently inverting the colors of the platform.

This flag indicates that the underlying OS is already performing a global color inversion at the screen level. It does not mean the Flutter framework will automatically invert its own layout painting.

Instead, this flag allows the application to react to the inversion. For example, by selectively re-inverting images, maps, or video playback so that they display with natural colors instead of looking like a film negative.

This flag is currently only updated on iOS devices.

See also:

Implementation

final bool invertColors;