Bubble constructor
Bubble({
- required double width,
- required double height,
- required Color color,
- required BubbleArrowDirection position,
- double length = 1,
- double arrHeight = 12.0,
- double arrAngle = 60.0,
- double radius = 10.0,
- double strokeWidth = 4.0,
- PaintingStyle style = PaintingStyle.fill,
- Color borderColor = Colors.transparent,
- Widget? child,
- double innerPadding = 6.0,
- Key? key,
Implementation
Bubble({
required this.width,
required this.height,
required this.color,
required this.position,
this.length = 1,
this.arrHeight = 12.0,
this.arrAngle = 60.0,
this.radius = 10.0,
this.strokeWidth = 4.0,
this.style = PaintingStyle.fill,
this.borderColor = Colors.transparent,
this.child,
this.innerPadding = 6.0,
Key? key,
}) : super(key: key);