toPdfStackFit method
StackFit
toPdfStackFit()
Converts the StackFit to a pw.StackFit
.
Implementation
pw.StackFit toPdfStackFit() {
switch (this) {
case StackFit.loose:
return pw.StackFit.loose;
case StackFit.expand:
return pw.StackFit.expand;
case StackFit.passthrough:
return pw.StackFit.passthrough;
}
}