XSlidable constructor

const XSlidable({
  1. Key? key,
  2. Object? groupTag,
  3. bool enabled = true,
  4. bool closeOnScroll = true,
  5. XActionPane? startActionPane,
  6. XActionPane? endActionPane,
  7. Axis direction = Axis.horizontal,
  8. DragStartBehavior dragStartBehavior = DragStartBehavior.down,
  9. bool useTextDirection = true,
  10. 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);