AntdAlert constructor

const AntdAlert(
  1. String message, {
  2. Key? key,
  3. Widget? action,
  4. VoidCallback? afterClose,
  5. bool? banner,
  6. bool? closable = false,
  7. String? closeText,
  8. IconData? closeIcon,
  9. String? description,
  10. IconData? icon,
  11. bool? showIcon,
  12. AntdThemeType? type = AntdThemeType.info,
  13. VoidCallback? onClose,
})

Implementation

const AntdAlert(
  this.message, {
  super.key,
  this.action,
  this.afterClose,
  this.banner,
  this.closable = false,
  this.closeText,
  this.closeIcon,
  this.description,
  this.icon,
  this.showIcon,
  this.type = AntdThemeType.info,
  this.onClose,
});