backgroundColor property

Color? backgroundColor
final

The color of the surface of this MaterialBanner.

If null, MaterialBannerThemeData.backgroundColor is used. If that is also null, ColorScheme.surfaceContainerLow of ThemeData.colorScheme is used.

Implementation

final Color? backgroundColor;