MaterialBannerThemeData constructor

const MaterialBannerThemeData(
  1. {Color? backgroundColor,
  2. Color? surfaceTintColor,
  3. Color? shadowColor,
  4. Color? dividerColor,
  5. TextStyle? contentTextStyle,
  6. double? elevation,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? leadingPadding}
)

Creates a theme that can be used for MaterialBannerTheme or ThemeData.bannerTheme.

Implementation

const MaterialBannerThemeData({
  this.backgroundColor,
  this.surfaceTintColor,
  this.shadowColor,
  this.dividerColor,
  this.contentTextStyle,
  this.elevation,
  this.padding,
  this.leadingPadding,
});