toPdfWidget method

Expanded toPdfWidget(
  1. Widget child
)

Converts the Expanded to a pw.Expanded.

Implementation

pw.Expanded toPdfWidget(pw.Widget child) => pw.Expanded(
      flex: flex,
      fit: fit.toPdfFlexFit(),
      child: child,
    );