LayerInteraction class
Represents the interaction behavior for a layer.
Constructors
- LayerInteraction({LayerInteractionSelectable selectable = LayerInteractionSelectable.auto, bool initialSelected = false, Offset? newLayerOffsetPosition})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialSelected → bool
-
The layer is automatically selected upon creation.
This option takes effect only when
selectable
is set toenabled
orauto
where the device is a desktop.final - newLayerOffsetPosition → Offset?
-
The offset position where the new layer will be inserted. If null, it will be inserted in the center of the screen.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectable → LayerInteractionSelectable
-
Specifies the selectability behavior for the layer.
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