backgroundColor property Null safety
final
The color of the NavigationBar itself.
If null, NavigationBarThemeData.backgroundColor is used. If that is also null, the default blends ColorScheme.surface and ColorScheme.onSurface using an ElevationOverlay.
Implementation
final Color? backgroundColor;