asAlignmentGeometry method

AlignmentGeometry asAlignmentGeometry()

Converts the alignment to a Flutter AlignmentGeometry value.

This is used internally for positioning the icon within its container.

Implementation

AlignmentGeometry asAlignmentGeometry() => switch (this) {
      MarkerIconAlignment.top => Alignment.topCenter,
      MarkerIconAlignment.center => Alignment.center,
      MarkerIconAlignment.bottom => Alignment.bottomCenter,
    };