alignment property

AlignmentGeometry get alignment

Implementation

AlignmentGeometry get alignment {
  switch (this) {
    case Position.center:
      return Alignment.center;
    case Position.top:
      return Alignment.topCenter;
    case Position.bottom:
      return Alignment.bottomCenter;
  }
}