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<AssistMessage> _messages = <AssistMessage>[
  AssistMessage.response(
    suggestionSettings: AssistSuggestionSettings(
      itemOverflow: SuggestionOverflow.scroll,
    ),
  ),
];

Implementation

@override
final SuggestionOverflow itemOverflow;