ConversationItemSlidePanel constructor

ConversationItemSlidePanel({
  1. Key? key,
  2. int flex = 1,
  3. Color backgroundColor = Colors.white,
  4. Color? foregroundColor,
  5. bool autoClose = true,
  6. required SlidableActionCallback? onPressed,
  7. IconData? icon,
  8. double spacing = 4,
  9. String? label,
})

Implementation

ConversationItemSlidePanel({
  Key? key,
  this.flex = 1,
  this.backgroundColor = Colors.white,
  this.foregroundColor,
  this.autoClose = true,
  required this.onPressed,
  this.icon,
  this.spacing = 4,
  this.label,
})  : assert(flex > 0),
      assert(icon != null || label != null),
      super(key: key);