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.
ChatListView
const ChatListView({
super.key,
required this.items,
this.selectedId,
this.onSelected,
this.onNewChat,
this.onRename,
this.onDelete,
this.onTogglePin,
this.onArchive,
this.showSearch = true,
this.showPreviews = false,
this.previewBuilder,
this.showArchived = false,
this.groupByDate = true,
this.searchController,
this.scrollController,
this.scrollShadowColor,
this.now,
this.isLoading = false,
this.error,
this.onRetry,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
items | List<ChatHistoryItem> | Yes | — |
selectedId | Object? | No | null |
onSelected | ValueChanged<ChatHistoryItem>? | No | null |
onNewChat | VoidCallback? | No | null |
onRename | ValueChanged<ChatHistoryItem>? | No | null |
onDelete | ValueChanged<ChatHistoryItem>? | No | null |
onTogglePin | ValueChanged<ChatHistoryItem>? | No | null |
onArchive | ValueChanged<ChatHistoryItem>? | No | null |
showSearch | bool | No | true |
showPreviews | bool | No | false |
previewBuilder | Widget Function(BuildContext, ChatHistoryItem)? | No | null |
showArchived | bool | No | false |
groupByDate | bool | No | true |
searchController | TextEditingController? | No | null |
scrollController | ScrollController? | No | null |
scrollShadowColor | Color? | No | null |
now | DateTime? | No | null |
isLoading | bool | No | false |
error | String? | No | null |
onRetry | VoidCallback? | 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/chat_list_view/chat_list_view.dart
This reference is generated from the ChatListView declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

