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.
MessageBubbleGroup
const MessageBubbleGroup({
super.key,
required this.children,
this.role = MessageRole.assistant,
this.sender,
this.avatar,
this.timestamp,
this.delivery,
this.actions,
this.filled,
this.maxWidth = 680,
this.spacing = 4,
this.onLongPress,
this.onLongPressStart,
this.onMessageLongPress,
this.onMessageLongPressStart,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
children | List<Widget> | Yes | — |
role | MessageRole | No | MessageRole.assistant |
sender | String? | No | null |
avatar | Widget? | No | null |
timestamp | String? | No | null |
delivery | MessageDelivery? | No | null |
actions | Widget? | No | null |
filled | bool? | No | null |
maxWidth | double | No | 680 |
spacing | double | No | 4 |
onLongPress | VoidCallback? | No | null |
onLongPressStart | GestureLongPressStartCallback? | No | null |
onMessageLongPress | ValueChanged<int>? | No | null |
onMessageLongPressStart | void Function(int index, LongPressStartDetails details)? | No | null |
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_bubble_group/message_bubble_group.dart
This reference is generated from the MessageBubbleGroup declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

