MessageCard constructor

const MessageCard({
  1. Key? key,
  2. required String message,
  3. String? title,
  4. String? subtitle,
  5. VoidCallback? onDismiss,
  6. MessageType type = MessageType.error,
})

Implementation

const MessageCard({
  super.key,
  required this.message,
  this.title,
  this.subtitle,
  this.onDismiss,
  this.type = MessageType.error,
});