LayerInteractionConfigs class

Represents the interaction behavior for a layer.

This class provides configuration options for layer interactions, such as whether the layer is selectable and its initial selection state.

Constructors

LayerInteractionConfigs({LayerInteractionSelectable selectable = LayerInteractionSelectable.auto, bool initialSelected = false, bool hideToolbarOnInteraction = false, LayerInteractionIcons icons = const LayerInteractionIcons(), LayerInteractionWidgets widgets = const LayerInteractionWidgets(), LayerInteractionStyle style = const LayerInteractionStyle()})
Creates a LayerInteractionConfigs instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
hideToolbarOnInteraction bool
Determines whether the toolbars should be hidden when the user interacts with the editor.
final
icons LayerInteractionIcons
Defines icons used in layer interactions.
final
initialSelected bool
The layer is automatically selected upon creation. This option takes effect only when selectable is set to enabled or auto where the device is a desktop.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectable LayerInteractionSelectable
Specifies the selectability behavior for the layer.
final
style LayerInteractionStyle
Style configuration for layer interactions.
final
widgets LayerInteractionWidgets
Widgets associated with layer interactions.
final

Methods

copyWith({LayerInteractionSelectable? selectable, bool? initialSelected, bool? hideToolbarOnInteraction, LayerInteractionIcons? icons, LayerInteractionWidgets? widgets, LayerInteractionStyle? style}) LayerInteractionConfigs
Creates a copy of this LayerInteractionConfigs object with the given fields replaced with new values.
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