NiceNotificationBanner constructor

const NiceNotificationBanner({
  1. Key? key,
  2. required String message,
  3. NiceNotificationType type = NiceNotificationType.info,
  4. VoidCallback? onDismiss,
  5. String? actionLabel,
  6. VoidCallback? onAction,
  7. bool showIcon = true,
})

Implementation

const NiceNotificationBanner({
  super.key,
  required this.message,
  this.type = NiceNotificationType.info,
  this.onDismiss,
  this.actionLabel,
  this.onAction,
  this.showIcon = true,
});