textDirection property
Defaults to TextDirection.ltr. Relevant only if a rect is supplied to drive a Paint.shader-based LinearGradient and only then in contexts where text directionality is considered.
Implementation
final TextDirection textDirection;