ModulaBanner constructor

const ModulaBanner({
  1. required String message,
  2. Key? key,
  3. BannerType type = BannerType.info,
  4. IconData? icon,
  5. VoidCallback? onPressed,
  6. String? actionLabel,
  7. Color? backgroundColor,
  8. Color? textColor,
  9. Color? iconColor,
  10. double borderRadius = 8.0,
  11. 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),
});