MessageCard constructor
const
MessageCard({
- Key? key,
- required String message,
- String? title,
- String? subtitle,
- VoidCallback? onDismiss,
- MessageType type = MessageType.error,
Implementation
const MessageCard({
super.key,
required this.message,
this.title,
this.subtitle,
this.onDismiss,
this.type = MessageType.error,
});