BubblePainter constructor
BubblePainter({})
Implementation
BubblePainter({
required this.clipper,
required Color color,
required Color borderColor,
required double borderWidth,
required this.borderUp,
required this.elevation,
required this.shadowColor,
}) : _fillPaint = Paint()
..color = color
..style = PaintingStyle.fill,
_strokePaint = borderWidth == 0 || borderColor == Colors.transparent
? null
: (Paint()
..color = borderColor
..strokeWidth = borderWidth
..strokeCap = StrokeCap.round
..strokeJoin = StrokeJoin.round
..style = PaintingStyle.stroke);