ArrowPainter constructor

ArrowPainter({
  1. required IndicatorInsets indicators,
  2. required double width,
  3. required double thickness,
  4. required Color color,
  5. required double offset,
})

Implementation

ArrowPainter({
  required this.indicators,
  required this.width,
  required this.thickness,
  required this.color,
  required this.offset,
}) : _painter = Paint()
        ..color = color
        ..strokeWidth = thickness
        ..style = PaintingStyle.stroke
        ..strokeJoin = StrokeJoin.round
        ..strokeCap = StrokeCap.round;