itemPadding property

  1. @override
EdgeInsetsGeometry itemPadding
final

Padding between the content of each individual suggestion item.

Defaults to EdgeInsets.all(5.0).

Example:

List<ChatMessage> _messages = <ChatMessage>[
  ChatMessage(
    suggestionSettings: ChatSuggestionSettings(
      itemPadding:
          const EdgeInsets.symmetric(horizontal: 12, vertical: 8.0),
    )
  ),
];

Implementation

@override
final EdgeInsetsGeometry itemPadding;