selectionType property

  1. @override
SuggestionSelectionType selectionType
final

The selectionType property specifies how many suggestion items can be selected at once.

Defaults to SuggestionSelectionType.single.

Example:

List<ChatMessage> _messages = <ChatMessage>[
  ChatMessage(
    suggestionSettings: ChatSuggestionSettings(
      selectionType: SuggestionSelectionType.multiple,
    ),
  ),
];

Implementation

@override
final SuggestionSelectionType selectionType;