hasSelection property

bool get hasSelection

Implementation

bool get hasSelection =>
    selectionBaseOffset != null &&
    selectionExtentOffset != null &&
    selectionBaseOffset != selectionExtentOffset;