StackTextItem class

StackTextItem

Inheritance

Constructors

StackTextItem({TextItemContent? content, String? id, double? angle, required Size size, Offset? offset, bool? lockZOrder, StackItemStatus? status})
StackTextItem.fromJson(Map<String, dynamic> data)
factory

Properties

angle → double
Angle
finalinherited
content → TextItemContent?
Content
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
id
finalinherited
lockZOrder → bool
finalinherited
offset → Offset
Offset
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → Size
Size
finalinherited
status → StackItemStatus
Status
finalinherited

Methods

copyWith({double? angle, Size? size, Offset? offset, StackItemStatus? status, bool? lockZOrder, TextItemContent? content}) → StackTextItem
Update content and return new instance
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setData(String str) → void
  • 覆盖文本
  • Override text
  • toJson() → Map<String, dynamic>
    to json
    inherited
    toString() → String
    A string representation of this object.
    inherited

    Operators

    operator ==(Object other) → bool
    The equality operator.
    inherited