textDirection property
final
The direction to use for the x offset described by the position.
If textDirection is null, the x offset is applied in the coordinate system of the canvas (so positive x offsets move the child towards the right).
If textDirection is TextDirection.rtl, the x offset is applied in the reading direction such that x offsets move the child towards the left.
If textDirection is TextDirection.ltr, the x offset is applied in the reading direction such that x offsets move the child towards the right.
Implementation
final TextDirection textDirection