Slideable constructor

Slideable({
  1. Key? key,
  2. required List<ActionItems> items,
  3. required Widget child,
  4. Color backgroundColor = Colors.transparent,
  5. bool resetSlide = true,
  6. Duration? duration,
  7. Curve? curve,
})

Implementation

Slideable({
  Key? key,
  required this.items,
  required this.child,
  this.backgroundColor = Colors.transparent,
  this.resetSlide = true,
  this.duration,
  this.curve,
}) : super(key: key) {
  assert(items.length <= 6);
}