StackDrawing class

画板

Inheritance

Constructors

StackDrawing({Size size = const Size(260, 260), Widget background = const SizedBox(width: 260, height: 260), int? id, Future<bool> onDel()?, CaseStyle? caseStyle, bool? tapToEdit})
const

Properties

caseStyle CaseStyle?
外框样式
finalinherited
child Widget
子控件
finalinherited
color Color?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id int?
item id
finalinherited
onDel → (Future<bool> Function()?)
移除回调
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
画布初始大小
final
tapToEdit bool
点击进行编辑
finalinherited
x double?
finalinherited
y double?
finalinherited

Methods

copyWith({int? id, Widget? child, dynamic onEdit(bool)?, Future<bool> onDel()?, CaseStyle? caseStyle, Size? size, bool? tapToEdit}) StackDrawing
对象拷贝
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sameWith(StackBoardItem item) bool
对象比较
inherited
toString() String
A string representation of this object.
inherited

Operators

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