avatarPadding property
Customizes the padding around the avatar within the bubble.
Defaults to null
.
Example:
@override
Widget build(BuildContext context) {
return SfChat(
incomingBubbleSettings: ChatBubbleSettings(
avatarPadding: const EdgeInsets.all(4.0),
),
outgoingBubbleSettings: ChatBubbleSettings(
avatarPadding: const EdgeInsets.all(4.0),
),
);
}
Implementation
final EdgeInsetsGeometry? avatarPadding;