showUserAvatar property

bool showUserAvatar
final

Customizes whether to display the sender's avatar within the chat bubble.

Defaults to true.

Example:


@override
Widget build(BuildContext context) {
  return SfChat(
    incomingBubbleSettings: ChatBubbleSettings(
      showUserAvatar: true,
    ),
    outgoingBubbleSettings: ChatBubbleSettings(
      showUserAvatar: true,
    ),
  );
}

Implementation

final bool showUserAvatar;