StackItem<T extends StackItemContent> constructor
StackItem<T extends StackItemContent> ({})
Implementation
StackItem({
String? id,
required this.size,
Offset? offset,
double? angle = 0,
StackItemStatus? status = StackItemStatus.selected,
bool? lockZOrder = false,
this.content,
}) : id = id ?? _genId(),
offset = offset ?? Offset.zero,
angle = angle ?? 0,
lockZOrder = lockZOrder ?? false,
status = status ?? StackItemStatus.selected;