avatarSize property

Size avatarSize
final

Customizes the avatar's size within the chat bubble.

Defaults to Size.square(32.0).

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    incomingBubbleSettings: ChatBubbleSettings(
      avatarSize: const Size.square(35.0),
    ),
    outgoingBubbleSettings: ChatBubbleSettings(
      avatarSize: const Size.square(35.0),
    ),
  );
}

Implementation

final Size avatarSize;