SwipeManager constructor

const SwipeManager({
  1. Key? key,
  2. double initialValue = 1.0,
  3. ChangeCallback? onChange,
  4. FinishCallback? onFinish,
  5. SlideDirection direction = SlideDirection.vertical,
  6. Color color = const Color.fromRGBO(46, 45, 36, 0.5),
  7. Color fillColor = Colors.white,
  8. Widget? child,
  9. ChildBuilder? childBuilder,
  10. double width = 20,
  11. double height = 200,
})

Creates a SwipeManager widget.

Implementation

const SwipeManager({
  super.key,
  this.initialValue = 1.0,
  this.onChange,
  this.onFinish,
  this.direction = SlideDirection.vertical,
  this.color = const Color.fromRGBO(46, 45, 36, 0.5),
  this.fillColor = Colors.white,
  this.child,
  this.childBuilder,
  this.width = 20,
  this.height = 200,
});