BubbleReaction constructor
const
BubbleReaction({
- Key? key,
- required List<
Reaction> reactions, - dynamic onReactionTap()?,
- VoidCallback? onAddReactionTap,
- bool showAddButton = true,
- Color backgroundColor = const Color(0xFFF0F0F0),
- Color userReactionColor = const Color(0xFFE3F2FD),
- Color textColor = Colors.black87,
- Color? borderColor,
- double emojiSize = 16,
- EdgeInsets chipPadding = const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
- double spacing = 4,
- double borderRadius = 12,
- bool alignRight = false,
Creates a BubbleReaction widget
Implementation
const BubbleReaction({
Key? key,
required this.reactions,
this.onReactionTap,
this.onAddReactionTap,
this.showAddButton = true,
this.backgroundColor = const Color(0xFFF0F0F0),
this.userReactionColor = const Color(0xFFE3F2FD),
this.textColor = Colors.black87,
this.borderColor,
this.emojiSize = 16,
this.chipPadding = const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
this.spacing = 4,
this.borderRadius = 12,
this.alignRight = false,
}) : super(key: key);