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