Message constructor

const Message({
  1. required IconData icon,
  2. required Color color,
  3. required String title,
  4. String? body,
  5. Future? cancel,
  6. List<MessageAction> actions = const [],
})

Implementation

const Message({
  required this.icon,
  required this.color,
  required this.title,
  this.body,
  this.cancel,
  this.actions = const [],
});