BubbleContainer constructor
const
BubbleContainer({
- Key? key,
- required String text,
- double bubbleRadius = 25,
- Color color = Colors.white70,
- TextStyle textStyle = const TextStyle(color: Colors.white, fontSize: 17),
- required BubbleAlignment bubbleAlignment,
- EdgeInsets? padding,
- EdgeInsets? margin,
Creates a chat bubble.
Implementation
const BubbleContainer({
Key? key,
required this.text,
this.bubbleRadius = 25,
this.color = Colors.white70,
this.textStyle = const TextStyle(
color: Colors.white,
fontSize: 17,
),
required this.bubbleAlignment,
this.padding,
this.margin,
}) : super(key: key);