MaterialBannerTheme constructor

const MaterialBannerTheme({
  1. Key? key,
  2. MaterialBannerThemeData? data,
  3. required Widget child,
})

Creates a banner theme that controls the configurations for MaterialBanners in its widget subtree.

Implementation

const MaterialBannerTheme({super.key, this.data, required super.child});