toPdfWidget method
SizedBox
toPdfWidget(
- Widget? child
Converts the SizedBox to a pw.SizedBox
.
Implementation
pw.SizedBox toPdfWidget(pw.Widget? child) => pw.SizedBox(
width: width,
height: height,
child: child,
);