toPdfWidget method
Padding
toPdfWidget(
- Widget? child
Converts the Padding to a pw.Padding
.
Implementation
pw.Padding toPdfWidget(pw.Widget? child) => pw.Padding(
padding: padding.toPdfEdgeInsets() ?? const pw.EdgeInsets.all(0),
child: child,
);