padding property

EdgeInsetsGeometry padding
final

Customizes the padding around the entire bubble.

Defaults to EdgeInsets.all(2.0).

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    incomingBubbleSettings: ChatBubbleSettings(
      padding: const EdgeInsets.all(2.0),
    ),
    outgoingBubbleSettings: ChatBubbleSettings(
      padding: const EdgeInsets.all(2.0),
    ),
  );
}

Implementation

final EdgeInsetsGeometry padding;