ThemeLayerInteraction class

Represents the interaction settings for layers in the theme.

This class defines the visual interaction properties such as button radius, stroke width, dash width, dash space, dash color, and cursor styles for interacting with layers in the theme.

Constructors

ThemeLayerInteraction({double buttonRadius = 10, double strokeWidth = 1.2, double borderElementWidth = 7, double borderElementSpace = 5, Color borderColor = Colors.blue, SystemMouseCursor removeCursor = SystemMouseCursors.click, SystemMouseCursor rotateScaleCursor = SystemMouseCursors.click, SystemMouseCursor editCursor = SystemMouseCursors.click, SystemMouseCursor hoverCursor = SystemMouseCursors.move, LayerInteractionBorderStyle borderStyle = LayerInteractionBorderStyle.solid, bool showTooltips = false})
Creates a new instance of ThemeLayerInteraction.
const

Properties

borderColor Color
The color of the border element used for layer interactions.
final
borderElementSpace double
The space between the border element used for layer interactions.
final
borderElementWidth double
The width of the border element used for layer interactions.
final
borderStyle LayerInteractionBorderStyle
Specifies the style of the selected layer border.
final
buttonRadius double
The radius of buttons used for layer interactions.
final
editCursor SystemMouseCursor
The cursor style for editing a Text layer.
final
hashCode int
The hash code for this object.
no setterinherited
hoverCursor SystemMouseCursor
The cursor style when hovering over a layer.
final
removeCursor SystemMouseCursor
The cursor style for removing a layer.
final
rotateScaleCursor SystemMouseCursor
The cursor style for rotating or scaling a layer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showTooltips bool
Indicates whether tooltips should be displayed for the layer.
final
strokeWidth double
The width of the stroke used for layer interactions.
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