SelectionImpl<T> class
- Implemented types
-
- Selection<
T>
- Selection<
Constructors
-
SelectionImpl({List<
T> selected = const [], bool useStaging = false, bool singleValue = false, StateCallback<SelectionState> ? onStateChanged})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onStateChanged
→ StateCallback<
SelectionState> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleValue → bool
-
final
-
state
→ SelectionState<
T> -
no setteroverride
- useStaging → bool
-
final
Methods
-
applyStaging(
) → void -
override
-
deselect(
T value) → void -
override
-
deselectAll(
) → void -
override
-
discardStaging(
) → void -
override
-
isSelected(
T value) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
select(
T value) → void -
override
-
selectAll(
List< T> values) → void -
override
-
toggle(
T value) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited