SlideAction constructor
const
SlideAction({
- Key? key,
- double sliderButtonIconSize = 24,
- double sliderButtonIconPadding = 16,
- double sliderButtonYOffset = 0,
- bool sliderRotate = true,
- bool enabled = true,
- double height = 70,
- Color? textColor,
- Color? innerColor,
- Color? outerColor,
- double borderRadius = 52,
- double elevation = 6,
- Duration animationDuration = const Duration(milliseconds: 300),
- bool reversed = false,
- Alignment alignment = Alignment.center,
- Widget? submittedIcon,
- Future? onSubmit()?,
- Widget? child,
- String? text,
- TextStyle? textStyle,
- 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.enabled = true,
this.height = 70,
this.textColor,
this.innerColor,
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.text,
this.textStyle,
this.sliderButtonIcon,
}) : super(key: key);