contentPadding property

  1. @override
EdgeInsetsGeometry? contentPadding
final

It determines a padding around the content with in the message bubble.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    requestBubbleSettings: const AssistBubbleSettings(
      contentPadding:
         EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
    ),
    responseBubbleSettings: const AssistBubbleSettings(
      contentPadding:
         EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
    ),
  );
}

Implementation

@override
final EdgeInsetsGeometry? contentPadding;