LinesPainter constructor
const
LinesPainter(
- BuildContext context,
- Map<
String, MatrixNode> matrixMap, - double cellWidth,
- double contactEdgesDistance,
- MatrixOrientation orientation, {
- required double cellPadding,
- required double tipLength,
- required double tipAngle,
- GestureEdgeTapDownCallback? onEdgeTapDown,
- PaintingStyle? edgePaintStyleForTouch,
- GestureEdgeTapUpCallback? onEdgeTapUp,
- GestureEdgeLongPressStartCallback? onEdgeLongPressStart,
- GestureEdgeLongPressEndCallback? onEdgeLongPressEnd,
- GestureEdgeLongPressMoveUpdateCallback? onEdgeLongPressMoveUpdate,
- GestureEdgeForcePressStartCallback? onEdgeForcePressStart,
- GestureEdgeForcePressEndCallback? onEdgeForcePressEnd,
- GestureEdgeForcePressPeakCallback? onEdgeForcePressPeak,
- GestureEdgeForcePressUpdateCallback? onEdgeForcePressUpdate,
- GestureEdgeDragStartCallback? onEdgePanStart,
- GestureEdgeDragUpdateCallback? onEdgePanUpdate,
- GestureEdgeDragDownCallback? onEdgePanDown,
- GestureEdgeTapDownCallback? onEdgeSecondaryTapDown,
- GestureEdgeTapUpCallback? onEdgeSecondaryTapUp,
- EdgePaintBuilder? paintBuilder,
- EdgePathBuilder? pathBuilder,
Implementation
const LinesPainter(
this.context,
this.matrixMap,
this.cellWidth,
this.contactEdgesDistance,
this.orientation, {
required this.cellPadding,
required this.tipLength,
required this.tipAngle,
this.onEdgeTapDown,
this.edgePaintStyleForTouch,
this.onEdgeTapUp,
this.onEdgeLongPressStart,
this.onEdgeLongPressEnd,
this.onEdgeLongPressMoveUpdate,
this.onEdgeForcePressStart,
this.onEdgeForcePressEnd,
this.onEdgeForcePressPeak,
this.onEdgeForcePressUpdate,
this.onEdgePanStart,
this.onEdgePanUpdate,
this.onEdgePanDown,
this.onEdgeSecondaryTapDown,
this.onEdgeSecondaryTapUp,
this.paintBuilder,
this.pathBuilder,
});