toPdfWidget method
Widget
toPdfWidget(
- Widget? child
Converts the ConstrainedBox to a pw.ConstrainedBox
.
Implementation
pw.Widget toPdfWidget(pw.Widget? child) => pw.ConstrainedBox(
constraints: constraints.toPdfBoxConstraints(),
child: child,
);