FPortalArrowAlignment.fraction constructor

const FPortalArrowAlignment.fraction(
  1. double fraction
)

Places the arrow at a fraction of the portal edge's length from its start.

The start is the:

  • Left if horizontal and LTR.
  • Right if horizontal and RTL.
  • Top if vertical.

Implementation

const factory fraction(double fraction) = _Fraction;