XContextTextDirection extension
Directionality.of(context)
as context.textDirection
- on
Properties
- textDirection → TextDirection
-
Returns the text direction from the closest widgets.Directionality
ancestor.
no setter
Directionality.of(context)
as context.textDirection