orientation property

  1. @override
Axis orientation
final

The orientation is used to determine the rendering orientation of the suggestion items and the direction in which the suggestions are scrolled.

Defaults to Axis.horizontal.

Example:

List<AssistMessage> _messages = <AssistMessage>[
  AssistMessage.response(
    suggestionSettings: AssistSuggestionSettings(
      orientation: Axis.vertical,
    )
  ),
];

Implementation

@override
final Axis orientation;