itemPadding property

  1. @override
EdgeInsetsGeometry itemPadding
final

To set the padding between the content of each individual suggestion item.

Defaults to EdgeInsets.all(5.0).

Example:

List<AssistMessage> _messages = <AssistMessage>[
  AssistMessage.response(
    suggestionSettings: AssistSuggestionSettings(
      itemPadding:
          const EdgeInsets.all(10),
    )
  ),
];

Implementation

@override
final EdgeInsetsGeometry itemPadding;