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