SwipeActions class final

Swipe actions on a list's items (Dismissible): toward the start reveals endActions, toward the end startActions; past threshold the first of the side runs. Running one fires the list's swipeAction reactions with ${result.action}, ${result.item}, ${result.index}.

Inheritance

Properties

apply → ListApply
no setter
armedScale → double
no setter
armHaptic → bool
no setter
enabled → bool
no setter
endActions → List<SwipeAction>
no setter
fields → Props
The values that differ from the defaults.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Whether every field has its default.
no setterinherited
radius → BorderRadius
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → WidgetSpec
The declared fields.
no setteroverride
startActions → List<SwipeAction>
no setter
threshold → double
no setter
undo → bool
no setter
undoMessage → String
no setter
undoMs → int
no setter

Methods

get<T>(PropDef<T> field) → T
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set<T>(PropDef<T> field, T value) → SwipeActions
toJson() → Json
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Object? json) → SwipeActions?