TextLayerData class

Represents a text layer with customizable properties.

Inheritance

Constructors

TextLayerData({required String text, LayerBackgroundColorModeE? colorMode, double? colorPickerPosition, Color color = Colors.white, Color background = Colors.transparent, TextAlign align = TextAlign.left, Offset? offset, double? opacity, double? rotation, double? scale, String? id, bool? flipX, bool? flipY})
Creates a new text layer with customizable properties.

Properties

align TextAlign
The text alignment within the layer.
getter/setter pair
background Color
The background color for the text.
getter/setter pair
color Color
The text color.
getter/setter pair
colorMode LayerBackgroundColorModeE?
The color mode for the text.
getter/setter pair
colorPickerPosition double?
The position of the color picker (if applicable).
getter/setter pair
flipX bool
Flags to control horizontal and vertical flipping.
getter/setter pairinherited
flipY bool
Flags to control horizontal and vertical flipping.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
A unique identifier for the layer.
getter/setter pairinherited
offset Offset
The position offset of the widget.
getter/setter pairinherited
opacity double
The rotation, scale, and opacity values of the widget.
getter/setter pairinherited
rotation double
The rotation, scale, and opacity values of the widget.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The rotation, scale, and opacity values of the widget.
getter/setter pairinherited
text String
The text content of the layer.
getter/setter pair

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