MChatImageBubble constructor

const MChatImageBubble({
  1. Key? key,
  2. required String id,
  3. required Widget image,
  4. double? bubbleRadius,
  5. Gradient? gradient,
  6. EdgeInsets? margin = EdgeInsets.zero,
  7. EdgeInsets? padding = const EdgeInsets.fromLTRB(16, 8, 16, 8),
  8. Widget? leading,
  9. Widget? trailing,
  10. bool isSender = true,
  11. Color? color,
  12. bool tail = true,
  13. bool sent = false,
  14. bool delivered = false,
  15. bool seen = false,
  16. VoidCallback? onTap,
  17. VoidCallback? onLongPress,
})

Implementation

const MChatImageBubble({
  Key? key,
  required this.id,
  required this.image,
  this.bubbleRadius,
  this.gradient,
  this.margin = EdgeInsets.zero,
  this.padding = const EdgeInsets.fromLTRB(16, 8, 16, 8),
  this.leading,
  this.trailing,
  this.isSender = true,
  this.color,
  this.tail = true,
  this.sent = false,
  this.delivered = false,
  this.seen = false,
  this.onTap,
  this.onLongPress,
}) : super(key: key);