XSlidable constructor
const
XSlidable({
- Key? key,
- Object? groupTag,
- bool enabled = true,
- bool closeOnScroll = true,
- XActionPane? startActionPane,
- XActionPane? 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 XSlidable({
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);