LinesPainter constructor

const LinesPainter(
  1. BuildContext context,
  2. List<Edge> edges, {
  3. required double tipLength,
  4. required double tipAngle,
  5. GestureBackgroundTapCallback? onCanvasTap,
  6. GestureEdgeTapDownCallback? onEdgeTapDown,
  7. PaintingStyle? edgePaintStyleForTouch,
  8. GestureEdgeTapUpCallback? onEdgeTapUp,
  9. GestureEdgeLongPressStartCallback? onEdgeLongPressStart,
  10. GestureEdgeLongPressEndCallback? onEdgeLongPressEnd,
  11. GestureEdgeLongPressMoveUpdateCallback? onEdgeLongPressMoveUpdate,
  12. GestureEdgeForcePressStartCallback? onEdgeForcePressStart,
  13. GestureEdgeForcePressEndCallback? onEdgeForcePressEnd,
  14. GestureEdgeForcePressPeakCallback? onEdgeForcePressPeak,
  15. GestureEdgeForcePressUpdateCallback? onEdgeForcePressUpdate,
  16. GestureEdgeTapDownCallback? onEdgeSecondaryTapDown,
  17. GestureEdgeTapUpCallback? onEdgeSecondaryTapUp,
  18. EdgePaintBuilder? paintBuilder,
  19. EdgePathBuilder? pathBuilder,
})

Implementation

const LinesPainter(
  this.context,
  this.edges, {
  required this.tipLength,
  required this.tipAngle,
  this.onCanvasTap,
  this.onEdgeTapDown,
  this.edgePaintStyleForTouch,
  this.onEdgeTapUp,
  this.onEdgeLongPressStart,
  this.onEdgeLongPressEnd,
  this.onEdgeLongPressMoveUpdate,
  this.onEdgeForcePressStart,
  this.onEdgeForcePressEnd,
  this.onEdgeForcePressPeak,
  this.onEdgeForcePressUpdate,
  this.onEdgeSecondaryTapDown,
  this.onEdgeSecondaryTapUp,
  this.paintBuilder,
  this.pathBuilder,
});