navigationBar property

ObstructingPreferredSizeWidget navigationBar
final

The navigationBar, typically a CupertinoNavigationBar, is drawn at the top of the screen.

If translucent, the main content may slide behind it. Otherwise, the main content's top margin will be offset by its height.

The scaffold assumes the navigation bar will consume the MediaQuery top padding.

Implementation

final ObstructingPreferredSizeWidget navigationBar