StackDrawItem class

StackDrawItem

Inheritance

Constructors

StackDrawItem({DrawItemContent? content, String? id, double? angle, Size size = const Size(300, 300), Offset? offset, bool? lockZOrder, StackItemStatus? status})
StackDrawItem.fromJson(Map<String, dynamic> data)
factory

Properties

angle → double
Angle
finalinherited
content → DrawItemContent?
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({Size? size, Offset? offset, double? angle, StackItemStatus? status, bool? lockZOrder, DrawItemContent? content}) → StackDrawItem
Update content and return new instance
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setContents(List<PaintContent> contents) → void
  • 覆盖绘制内容
  • Override the drawing content
  • 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