toCrossAxisAlign method

CrossAxisAlignment toCrossAxisAlign()

Implementation

CrossAxisAlignment toCrossAxisAlign() {
  return switch (this) {
    PkTextAlignment.left => CrossAxisAlignment.start,
    PkTextAlignment.center => CrossAxisAlignment.center,
    PkTextAlignment.right => CrossAxisAlignment.start,
    PkTextAlignment.natural => CrossAxisAlignment.start,
  };
}