PrismBanner constructor

const PrismBanner({
  1. Key? key,
  2. required List<PrismAnnouncement> announcements,
  3. BannerDismissStore store = const SharedPrefsDismissStore(),
  4. PrismBannerPriority priority = PrismBannerPriority.newest,
  5. PrismBannerStyle? style,
  6. double maxWidth = 720,
})

Creates a banner host.

Implementation

const PrismBanner({
  super.key,
  required this.announcements,
  this.store = const SharedPrefsDismissStore(),
  this.priority = PrismBannerPriority.newest,
  this.style,
  this.maxWidth = 720,
});