ChatMessageList constructor

const ChatMessageList({
  1. Key? key,
  2. required List messages,
  3. required ScrollController scrollController,
  4. required bool isWaiting,
  5. FormlessTheme? theme,
  6. void onEditMessage(
    1. int index
    )?,
  7. bool showOptionChips = false,
  8. bool optionPickerUsesSearchSheet = false,
  9. List<String>? optionChoices,
  10. String? optionsSheetTitle,
  11. String? optionsQuestionKey,
  12. FormlessOptionsSheetPresenter? optionsSheetPresenter,
  13. ValueChanged<String>? onOptionSelected,
  14. 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,
});