StackDrawItem constructor
StackDrawItem({
- DrawItemContent? content,
- String? id,
- double? angle,
- Size size = const Size(300, 300),
- Offset? offset,
- bool? lockZOrder,
- StackItemStatus? status,
Implementation
StackDrawItem({
DrawItemContent? content,
String? id,
double? angle,
Size size = const Size(300, 300),
Offset? offset,
bool? lockZOrder,
StackItemStatus? status,
}) : super(
id: id,
size: size,
offset: offset,
angle: angle,
status: status,
lockZOrder: lockZOrder,
content: content ??
DrawItemContent(
size: size.shortestSide, paintContents: <PaintContent>[]));