toPdfWidget method

Center toPdfWidget(
  1. Widget? child
)

Converts the Center to a pw.Center.

Implementation

pw.Center toPdfWidget(pw.Widget? child) => pw.Center(
      heightFactor: heightFactor,
      widthFactor: widthFactor,
      child: child,
    );