Bubble constructor

Bubble({
  1. required double width,
  2. required double height,
  3. required Color color,
  4. required BubbleArrowDirection position,
  5. double length = 1,
  6. double arrHeight = 12.0,
  7. double arrAngle = 60.0,
  8. double radius = 10.0,
  9. double strokeWidth = 4.0,
  10. PaintingStyle style = PaintingStyle.fill,
  11. Color borderColor = Colors.transparent,
  12. Widget? child,
  13. double innerPadding = 6.0,
  14. 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);