LinesPainter constructor

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

Implementation

const LinesPainter(
  this.context,
  this.edges, {
  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.styleBuilder,
  this.pathBuilder,
});