toPdfWidget method

Wrap toPdfWidget(
  1. List<Widget> children
)

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,
    );