Slidable constructor
const
Slidable({
- Key? key,
- Object? groupTag,
- bool enabled = true,
- bool closeOnScroll = true,
- ActionPane? startActionPane,
- ActionPane? endActionPane,
- Axis direction = Axis.horizontal,
- DragStartBehavior dragStartBehavior = DragStartBehavior.down,
- bool useTextDirection = true,
- required Widget child,
Creates a Slidable.
The enabled, closeOnScroll, direction, dragStartBehavior, useTextDirection and child arguments must not be null.
Implementation
const Slidable({
Key? key,
this.groupTag,
this.enabled = true,
this.closeOnScroll = true,
this.startActionPane,
this.endActionPane,
this.direction = Axis.horizontal,
this.dragStartBehavior = DragStartBehavior.down,
this.useTextDirection = true,
required this.child,
}) : super(key: key);