toPdfWidget method
Widget
toPdfWidget(
- Widget? child
Converts the FittedBox to a pw.FittedBox
.
Implementation
pw.Widget toPdfWidget(pw.Widget? child) => pw.FittedBox(
fit: fit.toPdfBoxFit(),
alignment: (alignment as Alignment).toPdfAlignment(),
child: child,
);