BubbleReply constructor
const
BubbleReply({
- Key? key,
- required String repliedMessage,
- required String repliedMessageSender,
- required String text,
- double bubbleRadius = defaultBubbleRadiusReply,
- bool isSender = true,
- Color color = Colors.white70,
- Color replyBorderColor = Colors.blue,
- Color? replyBackgroundColor,
- bool tail = true,
- bool sent = false,
- bool delivered = false,
- bool seen = false,
- TextStyle textStyle = const TextStyle(color: Colors.black87, fontSize: 16),
- TextStyle? repliedMessageTextStyle,
- TextStyle? repliedMessageSenderTextStyle,
- BoxConstraints? constraints,
- Widget? leading,
- Widget? trailing,
- EdgeInsets margin = EdgeInsets.zero,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- 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);