isForward property

bool isForward

Returns a Boolean indicating whether the selection is forward.

Implementation

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