LayerItemInteractions class
Class that holds interactions for a layer item.
Constructors
- LayerItemInteractions({required dynamic edit(), required dynamic remove(), required dynamic duplicated(), required dynamic scaleRotateDown(PointerDownEvent event), required dynamic scaleRotateUp(PointerUpEvent event), required dynamic group(), required dynamic ungroup(), void textBoxResizeDown(PointerDownEvent event, TextLayerBoxHandle handle) = _ignoreTextBoxResizeDown, void textBoxResizeUp(PointerUpEvent event) = _ignoreTextBoxResizeUp})
- Constructor for LayerItemInteractions.
Properties
- duplicated → dynamic Function()
-
Callback triggered when a layer should be copied.
final
- edit → dynamic Function()
-
Callback function for editing the layer.
final
- group → dynamic Function()
-
Callback function for grouping layers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- remove → dynamic Function()
-
Callback function for removing the layer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleRotateDown → dynamic Function(PointerDownEvent event)
-
Callback function triggered when a scale/rotate gesture starts.
final
- scaleRotateUp → dynamic Function(PointerUpEvent event)
-
Callback function triggered when a scale/rotate gesture ends.
final
- textBoxResizeDown → void Function(PointerDownEvent event, TextLayerBoxHandle handle)
-
Called when a handle of a text layer's box is pressed: the drag that
follows resizes the box at TextLayerBoxHandle instead of moving the
layer.
final
- textBoxResizeUp → void Function(PointerUpEvent event)
-
Called when the box handle pressed with textBoxResizeDown is let go.
final
- ungroup → dynamic Function()
-
Callback function for ungrouping layers.
final
Methods
-
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