toPdfWidget method

ListView toPdfWidget(
  1. List<Widget> children
)

Converts the ListView to a pw.ListView.

Implementation

pw.ListView toPdfWidget(List<pw.Widget> children) => pw.ListView(
      children: children,
      reverse: reverse,
      padding: (padding as EdgeInsets?)?.toPdfEdgeInsets(),
      direction: scrollDirection.toPdfAxis(),
    );