SelectableItemTip class
The helper tip class for MultiSelectable and SelectableItem, which contains some flags and toToggle function for selecting and unselecting.
Constructors
- SelectableItemTip({required bool multiSelecting, required bool selected, void toToggle()?})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNormal → bool
-
The flag to describe whether current is not in multi-selection mode, or said in normal state.
no setter
- isSelected → bool
-
The flag to describe whether current item is selected.
no setter
- isUnselected → bool
-
The flag to describe whether current item is unselected.
no setter
- multiSelecting → bool
-
The flag to describe whether current is in multi-selection mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected → bool
-
The flag to describe whether current item is selected.
final
- toToggle → (void Function()?)
-
The function to select item or unselect item when multi-selection mode is enabled.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited