isSingle property

bool isSingle

Returns a Boolean indicating whether the selection's start and end points are at the same path.

Implementation

bool get isSingle => start.path.equals(end.path);