applyTopSafeArea property

bool applyTopSafeArea
final

(applyTopSafeArea) Determines if the top safe area should be applied to the ZdsAppBar or not.

Set to true if you want your application to eliminate any disruptive elements present at the top of the screen like the notch on the iPhone X for the ZdsAppBar. It is recommended to leave this as true for better UI.

If set to false, disruptive elements at the top of the screen will not be accounted for and you might have some UI elements hidden behind those disruptions.

This is a final value, meaning that once set, it cannot be changed.

Defaults to true

Implementation

final bool applyTopSafeArea;