isRtl property

bool get isRtl

Whether the TextDirection is right to left.

Implementation

bool get isRtl {
  return this == TextDirection.rtl;
}