isLtr property

bool get isLtr

Whether the TextDirection is left to right.

Implementation

bool get isLtr {
  return this == TextDirection.ltr;
}