SlideAction constructor

const SlideAction({
  1. Key? key,
  2. double sliderButtonIconSize = 24,
  3. double sliderButtonIconPadding = 16,
  4. double sliderButtonYOffset = 0,
  5. bool sliderRotate = true,
  6. double height = 70,
  7. Color? outerColor,
  8. double borderRadius = 52,
  9. double elevation = 6,
  10. Duration animationDuration = const Duration(milliseconds: 300),
  11. bool reversed = false,
  12. Alignment alignment = Alignment.center,
  13. Widget? submittedIcon,
  14. VoidCallback? onSubmit,
  15. Widget? child,
  16. Color? innerColor,
  17. String? text,
  18. TextStyle? textStyle,
  19. Widget? sliderButtonIcon,
})

Create a new instance of the widget

Implementation

const SlideAction({
  Key? key,
  this.sliderButtonIconSize = 24,
  this.sliderButtonIconPadding = 16,
  this.sliderButtonYOffset = 0,
  this.sliderRotate = true,
  this.height = 70,
  this.outerColor,
  this.borderRadius = 52,
  this.elevation = 6,
  this.animationDuration = const Duration(milliseconds: 300),
  this.reversed = false,
  this.alignment = Alignment.center,
  this.submittedIcon,
  this.onSubmit,
  this.child,
  this.innerColor,
  this.text,
  this.textStyle,
  this.sliderButtonIcon,
}) : super(key: key);