asCrossAxisAlignment method

CrossAxisAlignment asCrossAxisAlignment()

Converts the alignment to a Flutter CrossAxisAlignment value.

This is used internally for positioning the icon within row or column layouts.

Implementation

CrossAxisAlignment asCrossAxisAlignment() => switch (this) {
      MarkerIconAlignment.top => CrossAxisAlignment.start,
      MarkerIconAlignment.center => CrossAxisAlignment.center,
      MarkerIconAlignment.bottom => CrossAxisAlignment.end,
    };