ChatMessageList constructor
const
ChatMessageList({
- Key? key,
- required List messages,
- required ScrollController scrollController,
- required bool isWaiting,
- FormlessTheme? theme,
- void onEditMessage(
- int index
- bool showOptionChips = false,
- bool optionPickerUsesSearchSheet = false,
- List<
String> ? optionChoices, - String? optionsSheetTitle,
- String? optionsQuestionKey,
- FormlessOptionsSheetPresenter? optionsSheetPresenter,
- ValueChanged<
String> ? onOptionSelected, - Widget? optionPickerIcon,
Implementation
const ChatMessageList({
super.key,
required this.messages,
required this.scrollController,
required this.isWaiting,
this.theme,
this.onEditMessage,
this.showOptionChips = false,
this.optionPickerUsesSearchSheet = false,
this.optionChoices,
this.optionsSheetTitle,
this.optionsQuestionKey,
this.optionsSheetPresenter,
this.onOptionSelected,
this.optionPickerIcon,
});