EasyAlert constructor

const EasyAlert({
  1. Key? key,
  2. required String message,
  3. String? description,
  4. EasyThemeType? type = EasyThemeType.primary,
  5. VoidCallback? onClose,
  6. bool? closable = false,
  7. bool? showIcon = false,
  8. IconData? icon,
})

Implementation

const EasyAlert({
  Key? key,
  required this.message,
  this.description,
  this.type = EasyThemeType.primary,
  this.onClose,
  this.closable = false,
  this.showIcon = false,
  this.icon,
}) : super(key: key);