Slidable constructor

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