isRTL property
bool
get
isRTL
Check if the current directionality is right-to-left
Example: context.isRTL
Implementation
bool get isRTL => Directionality.of(this) == TextDirection.rtl;
Check if the current directionality is right-to-left
Example: context.isRTL
bool get isRTL => Directionality.of(this) == TextDirection.rtl;