toPdfWidget method
Widget
toPdfWidget(
- Widget? child
Converts the LimitedBox to a pw.LimitedBox
.
Implementation
pw.Widget toPdfWidget(pw.Widget? child) => pw.LimitedBox(
maxWidth: maxWidth,
maxHeight: maxHeight,
child: child,
);