ModulaBanner constructor
const
ModulaBanner({
- required String message,
- Key? key,
- BannerType type = BannerType.info,
- IconData? icon,
- VoidCallback? onPressed,
- String? actionLabel,
- Color? backgroundColor,
- Color? textColor,
- Color? iconColor,
- double borderRadius = 8.0,
- EdgeInsets padding = const EdgeInsets.all(12),
Implementation
const ModulaBanner({
required this.message,
super.key,
this.type = BannerType.info,
this.icon,
this.onPressed,
this.actionLabel,
this.backgroundColor,
this.textColor,
this.iconColor,
this.borderRadius = 8.0,
this.padding = const EdgeInsets.all(12),
});