toPdfOutlineInputBorder method
BoxDecoration
toPdfOutlineInputBorder()
Converts the OutlineInputBorder to a pw.BoxDecoration
.
Implementation
pw.BoxDecoration toPdfOutlineInputBorder() {
final pw.BorderSide pdfBorderSide = borderSide.toPdfBorderSide();
return pw.BoxDecoration(
borderRadius: borderRadius.toPdfBorderRadius(),
border: pw.Border.all(
color: pdfBorderSide.color,
width: pdfBorderSide.width,
style: pdfBorderSide.style,
),
);
}