widthFactor property

  1. @override
double widthFactor
final

The widthFactor property specifies the proportional width of a bubble.

Defaults to 0.8.

Example:

@override
Widget build(BuildContext context) {
  return SfAIAssistView(
    requestBubbleSettings: const AssistBubbleSettings(
      widthFactor: 0.6,
    ),
    responseBubbleSettings: const AssistBubbleSettings(
      widthFactor: 1.0,
    ),
  );
}

Implementation

@override
final double widthFactor;