isBackward property

bool isBackward

Returns a Boolean indicating whether the selection is backward.

Implementation

bool get isBackward =>
    (start.path < end.path) || (isSingle && start.offset < end.offset);