hasSelection property

bool get hasSelection

是否有选中项

Implementation

bool get hasSelection => _state?.hasSelection ?? false;