BubbleReply constructor

const BubbleReply({
  1. Key? key,
  2. required String repliedMessage,
  3. required String repliedMessageSender,
  4. required String text,
  5. double bubbleRadius = defaultBubbleRadiusReply,
  6. bool isSender = true,
  7. Color color = Colors.white70,
  8. Color replyBorderColor = Colors.blue,
  9. Color? replyBackgroundColor,
  10. bool tail = true,
  11. bool sent = false,
  12. bool delivered = false,
  13. bool seen = false,
  14. TextStyle textStyle = const TextStyle(color: Colors.black87, fontSize: 16),
  15. TextStyle? repliedMessageTextStyle,
  16. TextStyle? repliedMessageSenderTextStyle,
  17. BoxConstraints? constraints,
  18. Widget? leading,
  19. Widget? trailing,
  20. EdgeInsets margin = EdgeInsets.zero,
  21. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  22. VoidCallback? onTap,
  23. VoidCallback? onLongPress,
  24. VoidCallback? onReplyTap,
})

Creates a BubbleReply widget

Implementation

const BubbleReply({
  Key? key,
  required this.repliedMessage,
  required this.repliedMessageSender,
  required this.text,
  this.bubbleRadius = defaultBubbleRadiusReply,
  this.isSender = true,
  this.color = Colors.white70,
  this.replyBorderColor = Colors.blue,
  this.replyBackgroundColor,
  this.tail = true,
  this.sent = false,
  this.delivered = false,
  this.seen = false,
  this.textStyle = const TextStyle(
    color: Colors.black87,
    fontSize: 16,
  ),
  this.repliedMessageTextStyle,
  this.repliedMessageSenderTextStyle,
  this.constraints,
  this.leading,
  this.trailing,
  this.margin = EdgeInsets.zero,
  this.padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
  this.onTap,
  this.onLongPress,
  this.onReplyTap,
}) : super(key: key);