isRtl property
Whether the current text direction is right-to-left.
Example usage:
final code = idd.phoneCode(isRtl: context.isRtl);
Implementation
@useResult
bool get isRtl => Directionality.of(this) == TextDirection.rtl;
Whether the current text direction is right-to-left.
Example usage:
final code = idd.phoneCode(isRtl: context.isRtl);
@useResult
bool get isRtl => Directionality.of(this) == TextDirection.rtl;