asBoxAlignment property

BoxAlignmentGeometry get asBoxAlignment

Implementation

BoxAlignmentGeometry get asBoxAlignment => switch (this) {
  CrossAxisAlignment.start => BoxAlignmentGeometry.start,
  CrossAxisAlignment.end => BoxAlignmentGeometry.end,
  CrossAxisAlignment.center => BoxAlignmentGeometry.center,
  CrossAxisAlignment.stretch => BoxAlignmentGeometry.stretch,
  CrossAxisAlignment.baseline => BoxAlignmentGeometry.baseline,
};