toPdfWidget method
Converts the Stack to a pw.Stack
.
Implementation
pw.Stack toPdfWidget(List<pw.Widget> children) => pw.Stack(
alignment: alignment is Alignment
? (alignment as Alignment).toPdfAlignment()
: (alignment as AlignmentDirectional).toPdfAlignment(),
fit: fit.toPdfStackFit(),
children: children,
);