nullableInvertColors property
bool?
nullableInvertColors
Returns whether to invert colors for the nearest MediaQuery ancestor or null if no such ancestor exists.
Implementation
bool? get nullableInvertColors => MediaQuery.maybeInvertColorsOf(this);