selected property

bool get selected

Whether the widget is in a selected state.

Implementation

bool get selected => contains(WidgetState.selected);