padding property

  1. @override
EdgeInsetsGeometry padding
final

To sets the padding between the suggestion area and individual suggestion items.

Defaults to EdgeInsets.all(5.0).

Example:

List<AssistMessage> _messages = <AssistMessage>[
  AssistMessage.response(
    suggestionSettings: AssistSuggestionSettings(
      padding: const EdgeInsets.only(top: 10, bottom: 10),
    )
  ),
];

Implementation

@override
final EdgeInsetsGeometry padding;