itemOverflow property

  1. @override
SuggestionOverflow itemOverflow
final

The itemOverflow property determines whether suggestion items will wrap to fit within available space or scroll beyond it

Defaults to SuggestionOverflow.wrap.

Example:

List<ChatMessage> _messages = <ChatMessage>[
  ChatMessage(
    suggestionSettings: ChatSuggestionSettings(
      itemOverflow: SuggestionOverflow.wrap,
    ),
  ),
];

Implementation

@override
final SuggestionOverflow itemOverflow;