backgroundColor property

Color? backgroundColor
final

The background color of the navigation bar. If it contains transparency, the tab bar will automatically produce a blurring effect to the content behind it. This behavior can be disabled by setting enableBackgroundFilterBlur to false.

By default, the navigation bar's background is visible only when scrolled under. This behavior can be controlled with automaticBackgroundVisibility.

Defaults to CupertinoTheme's barBackgroundColor if null.

Implementation

final Color? backgroundColor;