toPdfMainAxisAlignment method

MainAxisAlignment toPdfMainAxisAlignment()

Implementation

pw.MainAxisAlignment toPdfMainAxisAlignment() {
  switch (this) {
    case MainAxisAlignment.start:
      return pw.MainAxisAlignment.start;
    case MainAxisAlignment.end:
      return pw.MainAxisAlignment.end;
    case MainAxisAlignment.center:
      return pw.MainAxisAlignment.center;
    case MainAxisAlignment.spaceBetween:
      return pw.MainAxisAlignment.spaceBetween;
    case MainAxisAlignment.spaceAround:
      return pw.MainAxisAlignment.spaceAround;
    case MainAxisAlignment.spaceEvenly:
      return pw.MainAxisAlignment.spaceEvenly;
  }
}