SlideActionBuilderDelegate class
A delegate that supplies slide actions using a builder callback.
This delegate provides slide actions using a SlideActionBuilder callback, so that the animation can be passed down to the final widget.
See also:
- SlideActionListDelegate, which is a delegate that has an explicit list of slide action.
- Inheritance
-
- Object
- SlideActionDelegate
- SlideActionBuilderDelegate
Constructors
- SlideActionBuilderDelegate({required SlideActionBuilder builder, required int actionCount})
-
Creates a delegate that supplies slide actions using the given
builder callback.
const
Properties
- actionCount → int
-
The total number of slide actions this delegate can provide.
final
- builder → SlideActionBuilder
-
Called to build 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