ChatThreadListView constructor

const ChatThreadListView({
  1. Key? key,
  2. required RoomClient? room,
  3. BaseChatClient? chatClient,
  4. required String threadListPath,
  5. required String? selectedThreadPath,
  6. required ValueChanged<String?> onSelectedThreadPathChanged,
  7. void onSelectedThreadResolved(
    1. String? path,
    2. String? displayName
    )?,
  8. String? selectedThreadDisplayName,
  9. String? agentName,
  10. bool showCreateItem = true,
  11. int newThreadResetVersion = 0,
})

Implementation

const ChatThreadListView({
  super.key,
  required this.room,
  this.chatClient,
  required this.threadListPath,
  required this.selectedThreadPath,
  required this.onSelectedThreadPathChanged,
  this.onSelectedThreadResolved,
  this.selectedThreadDisplayName,
  this.agentName,
  this.showCreateItem = true,
  this.newThreadResetVersion = 0,
});