end property

double end

The right edge of the box for left-to-right text; the left edge of the box for right-to-left text.

See also:

  • direction, which specifies the text direction.

Implementation

double get end {
  return (direction == TextDirection.ltr) ? right : left;
}