toPdfWidget method
Converts the Wrap to a pw.Wrap
.
Implementation
pw.Wrap toPdfWidget(List<pw.Widget> children) => pw.Wrap(
alignment: alignment.toPdfWrapAlignment(),
crossAxisAlignment: crossAxisAlignment.toPdfWrapCrossAlignment(),
direction: direction.toPdfAxis(),
runAlignment: runAlignment.toPdfWrapAlignment(),
runSpacing: runSpacing,
spacing: spacing,
verticalDirection: verticalDirection.toPdfVerticalDirection(),
children: children,
);