BubbleNormalImage constructor

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

Implementation

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