isDirectionChange method
- TextDirection otherDirection
Returns true if otherDirection
is known to be different from this
direction.
Implementation
bool isDirectionChange(TextDirection otherDirection) =>
otherDirection != TextDirection.UNKNOWN && this != otherDirection;