CcBubblePainter constructor

CcBubblePainter({
  1. required double x,
  2. required double y,
  3. double? w,
  4. double? h,
  5. double? radius,
  6. double? triangleLength,
  7. Offset? trianglePointOffset,
  8. double? triangleTranslation,
  9. CcBubbleArrowDirection triangleDirection = CcBubbleArrowDirection.top,
  10. bool isTriangleOccupiedSpace = true,
  11. double? shadowBlurRadius,
  12. double? shadowSpreadRadius,
  13. Color? shadowColor = Colors.grey,
  14. Offset? shadowOffset = Offset.zero,
  15. Color? color,
})

Implementation

CcBubblePainter({
  required this.x,
  required this.y,
  this.w,
  this.h,
  this.radius,
  this.triangleLength,
  this.trianglePointOffset,
  this.triangleTranslation,
  this.triangleDirection = CcBubbleArrowDirection.top,
  this.isTriangleOccupiedSpace = true,
  this.shadowBlurRadius,
  this.shadowSpreadRadius,
  this.shadowColor = Colors.grey,
  this.shadowOffset = Offset.zero,
  this.color,
});