isLTR property

bool get isLTR

Check if the current directionality is left-to-right

Example: context.isLTR

Implementation

bool get isLTR => Directionality.of(this) == TextDirection.ltr;