SmoothBanner constructor
const
SmoothBanner({ - required Widget icon,
- required String content,
- String? title,
- Color? titleColor,
- TextStyle? titleStyle,
- Color? contentColor,
- TextStyle? contentStyle,
- AlignmentGeometry? iconAlignment,
- Color? iconColor,
- Color? iconBackgroundColor,
- Color? titleBackgroundColor,
- Color? contentBackgroundColor,
- ValueChanged<SmoothBannerDismissEvent>? onDismissClicked,
- BorderRadiusGeometry? borderRadius,
- bool addSafeArea = false,
- bool topShadow = false,
- Key? key,
})
Implementation
const SmoothBanner({
required this.icon,
required this.content,
this.title,
this.titleColor,
this.titleStyle,
this.contentColor,
this.contentStyle,
this.iconAlignment,
this.iconColor,
this.iconBackgroundColor,
this.titleBackgroundColor,
this.contentBackgroundColor,
this.onDismissClicked,
this.borderRadius,
this.addSafeArea = false,
this.topShadow = false,
super.key,
});