Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;Usage
const ui.MessageSources(
sources: [],
onOpen: null,
layout: ui.MessageSourcesLayout.cards,
)API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
MessageSources
const MessageSources({
super.key,
required this.sources,
required this.onOpen,
this.layout = MessageSourcesLayout.chips,
this.cardWidth = 260,
this.inset = 0,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
sources | List<MessageSource> | Yes | — |
onOpen | ValueChanged<MessageSource>? | Yes | — |
layout | MessageSourcesLayout | No | MessageSourcesLayout.chips |
cardWidth | double | No | 260 |
inset | double | No | 0 |
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_sources.dart
This reference is generated from the MessageSources declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

