TouchyCanvas class

Constructors

TouchyCanvas(BuildContext context, Canvas _canvas, {ScrollController? scrollController, AxisDirection scrollDirection = AxisDirection.down})
TouchyCanvas helps you add gesture callbacks to the shapes you draw.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

drawPath(Path path, Paint paint, {HitTestBehavior? hitTestBehavior, GestureTapDownCallback? onTapDown, PaintingStyle? paintStyleForTouch, GestureTapCallback? onTap, GestureTapUpCallback? onTapUp, GestureLongPressStartCallback? onLongPressStart, GestureLongPressEndCallback? onLongPressEnd, GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate, GestureForcePressStartCallback? onForcePressStart, GestureForcePressEndCallback? onForcePressEnd, GestureForcePressPeakCallback? onForcePressPeak, GestureForcePressUpdateCallback? onForcePressUpdate, GestureDragStartCallback? onPanStart, GestureDragUpdateCallback? onPanUpdate, GestureDragDownCallback? onPanDown, GestureTapDownCallback? onSecondaryTapDown, GestureTapUpCallback? onSecondaryTapUp}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited