shape property

  1. @override
ShapeBorder? shape
final

Used to customize the overall shape of the suggestion area.

Example:

List<AssistMessage> _messages = <AssistMessage>[
  AssistMessage.response(
    suggestionSettings: AssistSuggestionSettings(
      shape: const RoundedRectangleBorder(
        borderRadius: BorderRadius.all(Radius.circular(4.0)),
      ),
    )
  ),
];

Implementation

@override
final ShapeBorder? shape;