toPdfWidget method

SizedBox toPdfWidget(
  1. Widget? child
)

Converts the SizedBox to a pw.SizedBox.

Implementation

pw.SizedBox toPdfWidget(pw.Widget? child) => pw.SizedBox(
      width: width,
      height: height,
      child: child,
    );