hasSelection property

bool get hasSelection

Implementation

bool get hasSelection =>
    selectionBase != null &&
    selectionExtent != null &&
    selectionBase != selectionExtent;