Message.error constructor
const
Message.error({
- required String title,
- String? body,
- Future? cancel,
- List<
MessageAction> actions = const [MessageAction()],
Implementation
const Message.error({required this.title, this.body, this.cancel, this.actions = const [MessageAction()]})
: icon = Icons.error_outline_outlined,
color = const Color(0xffd32f2f);