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.
MessageContent
const MessageContent({
super.key,
required this.children,
this.isStreaming = false,
this.onStop,
this.error,
this.onRetry,
this.spacing = 12,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
children | List<Widget> | Yes | — |
isStreaming | bool | No | false |
onStop | VoidCallback? | No | null |
error | String? | No | null |
onRetry | VoidCallback? | No | null |
spacing | double | No | 12 |
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_content/message_content.dart
This reference is generated from the MessageContent declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

