TextLayerData class

代表一个文本图层的数据结构

Constructors

TextLayerData({required String id, String text = '', Offset? position, Color color = Colors.white, double fontSize = 32.0, bool isSelected = false})

Properties

color Color
getter/setter pair
fontSize double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
isSelected bool
getter/setter pair
position Offset
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
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