double end

The right edge of the box for ltr text; the left edge of the box for rtl text.

Source

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