DesignSwipeActionDetails class

What the look paints an action from.

Annotations

Constructors

DesignSwipeActionDetails({required Set<WidgetState> states, required double reveal, required bool armed, required int index, required int count, required double underlap})
The state; the row makes it.
const

Properties

armed → bool
Whether letting go now runs it (a full swipe on the edge action). Its slot widens over the rest as it arms, and narrows back as it disarms.
final
count → int
How many actions its side has.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
Its place on its side: 0 at the row's edge.
final
reveal → double
How far its side is open: 1 at its resting width, above 1 past it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
states → Set<WidgetState>
Its pressable states.
final
underlap → double
How far its slot runs on under the row, at its inner side: the side's innermost action's runs DesignSwipeActions.underlap, the others' none. A look keeps the action's content to the rest of the slot.
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