StackDrawItem constructor

StackDrawItem({
  1. DrawItemContent? content,
  2. String? id,
  3. double? angle,
  4. Size size = const Size(300, 300),
  5. Offset? offset,
  6. bool? lockZOrder,
  7. 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>[]));