ConfirmationSlider constructor
const
ConfirmationSlider({
- Key key,
- double height = 70,
- double width = 300,
- Color backgroundColor = Colors.white,
- Color foregroundColor = Colors.blueAccent,
- Color iconColor = Colors.white,
- BoxShadow shadow,
- Function onUpdate,
- IconData icon = Icons.chevron_right,
- String text = "Slide to confirm",
- TextStyle textStyle,
- @required VoidCallback onConfirmation,
- BorderRadius foregroundShape,
- BorderRadius backgroundShape,
Implementation
const ConfirmationSlider(
{Key key,
this.height = 70,
this.width = 300,
this.backgroundColor = Colors.white,
this.foregroundColor = Colors.blueAccent,
this.iconColor = Colors.white,
this.shadow,
this.onUpdate,
this.icon = Icons.chevron_right,
this.text = "Slide to confirm",
this.textStyle,
@required this.onConfirmation,
this.foregroundShape,
this.backgroundShape});