toPdfWidget method

Flexible toPdfWidget(
  1. Widget child
)

Converts the Flexible to a pw.Flexible.

Implementation

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