systemNavigationBarContrastEnforced property Null safety

bool? systemNavigationBarContrastEnforced

Overrides the contrast enforcement when setting a transparent navigation bar.

When setting a transparent navigation bar in SDK 29+, or Android 10 and up, a translucent body scrim may be applied behind the button navigation bar to ensure contrast with buttons and the background of the application.

SDK 28-, or Android P and lower, will not apply this body scrim.

Setting this to false overrides the default body scrim.

See also:


final bool? systemNavigationBarContrastEnforced;