KiteAlert constructor

const KiteAlert({
  1. required String title,
  2. Key? key,
  3. String? message,
  4. IconData? icon,
  5. KiteAlertVariant variant = KiteAlertVariant.neutral,
  6. Widget? action,
  7. VoidCallback? onClose,
})

Implementation

const KiteAlert({
  required this.title,
  super.key,
  this.message,
  this.icon,
  this.variant = KiteAlertVariant.neutral,
  this.action,
  this.onClose,
});