avatarSize property

  1. @override
Size avatarSize
final

Size of the avatar.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    requestBubbleSettings: const AssistBubbleSettings(
      avatarSize: Size.square(32.0),
    ),
    responseBubbleSettings: const AssistBubbleSettings(
      avatarSize: Size.square(32.0),
    ),
  );
}

Implementation

@override
final Size avatarSize;