DragHandleMixin mixin

Superclass Constraints

Properties

adapter DrawObjectAdapter<DrawObject>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
primaryColor Color
Used primarily for updating WindowPaintController.color when selected.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() DrawObject
Returns a deep clone of this object.
inherited
finalizeDragHandle() → void
Bakes the drag handle offset into this object's points and saves the shouldRepaint() variables.
finalizeDragHandlePoints(Offset offset) → void
Bakes the drag handle offset into this object's points.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Size size, Denormalize denormalize) → void
inherited
postPaintDragHandle(Canvas canvas, Size size) → void
Restores the canvas and saves the shouldRepaint() variables.
prePaintDragHandle(Canvas canvas, Size size, Denormalize denormalize) → void
Prepares the canvas with the current drag handle offset.
prepareDragHandle(Offset focalPoint) → void
Sets the drag handle focal point needed for subsequent calculations with the drag handle offset.
shouldRepaint() bool
inherited
shouldRepaintDragHandle() bool
Must be called in shouldRepaint().
toJSON() Map<String, dynamic>
Returns a representation of this object as a JSON object.
inherited
toString() String
A string representation of this object.
inherited
updateDragHandle(Offset focalPoint) → void
Updates the drag handle offset.

Operators

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