Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
MessageReactions
const MessageReactions({
super.key,
required this.reactions,
this.size,
this.onChanged,
this.onAddReaction,
this.addReactionButton,
this.enabled = true,
this.spacing,
this.runSpacing,
this.alignment = WrapAlignment.start,
this.height,
this.emojiSize,
this.fontSize,
this.maxCount = 99,
this.backgroundColor,
this.selectedBackgroundColor,
this.selectedForegroundColor,
this.addReactionLabel = 'Add reaction',
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
reactions | List<MessageReaction> | Yes | — |
size | ComponentSize? | No | null |
onChanged | MessageReactionChanged? | No | null |
onAddReaction | VoidCallback? | No | null |
addReactionButton | Widget? | No | null |
enabled | bool | No | true |
spacing | double? | No | null |
runSpacing | double? | No | null |
alignment | WrapAlignment | No | WrapAlignment.start |
height | double? | No | null |
emojiSize | double? | No | null |
fontSize | double? | No | null |
maxCount | int | No | 99 |
backgroundColor | Color? | No | null |
selectedBackgroundColor | Color? | No | null |
selectedForegroundColor | Color? | No | null |
addReactionLabel | String | No | 'Add reaction' |
Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/messaging/message_reactions/message_reactions.dart
This reference is generated from the MessageReactions declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

