BetterSlideAction constructor

const BetterSlideAction({
  1. Key? key,
  2. BetterSlideActionController? controller,
  3. VoidCallback? onCompleted,
  4. double? width,
  5. double? height,
  6. double? knobSize,
  7. BorderRadiusGeometry? borderRadius,
  8. bool resetAfterCompleted = false,
  9. Widget? knobChild,
  10. Widget? children,
  11. bool enabled = true,
  12. bool reverse = false,
  13. BoxDecoration? boxDecoration,
  14. Color? color,
  15. double? leftPadding,
  16. double? rightPadding,
})

Implementation

const BetterSlideAction({
  super.key,
  this.controller,
  this.onCompleted,
  this.width,
  this.height,
  this.knobSize,
  this.borderRadius,
  this.resetAfterCompleted = false,
  this.knobChild,
  this.children,
  this.enabled = true,
  this.reverse = false,
  this.boxDecoration,
  this.color,
  this.leftPadding,
  this.rightPadding,
});