PrismBanner constructor
- Key? key,
- required List<
PrismAnnouncement> announcements, - BannerDismissStore store = const SharedPrefsDismissStore(),
- PrismBannerPriority priority = PrismBannerPriority.newest,
- PrismBannerStyle? style,
- 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,
});