SlideActionListDelegate class
A delegate that supplies slide actions using an explicit list.
This delegate provides slide actions using an explicit list, which is convenient but reduces the benefit of passing the animation down to the final widget.
See also:
- SlideActionBuilderDelegate, which is a delegate that uses a builder callback to construct the slide actions.
- Inheritance
-
- Object
- SlideActionDelegate
- SlideActionListDelegate
Constructors
-
SlideActionListDelegate({required List<
Widget> ? actions}) -
Creates a delegate that supplies slide actions using the given
list.
const
Properties
- actionCount → int
-
The number of actions.
no setteroverride
-
actions
→ List<
Widget> ? -
The slide actions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context, int index, Animation< double> ? animation, SlidableRenderingMode step) → Widget -
Returns the child with the given index.
override
-
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