ConfirmationSlider constructor

const ConfirmationSlider({
  1. Key key,
  2. double height = 70,
  3. double width = 300,
  4. Color backgroundColor = Colors.white,
  5. Color foregroundColor = Colors.blueAccent,
  6. Color iconColor = Colors.white,
  7. BoxShadow shadow,
  8. Function onUpdate,
  9. IconData icon = Icons.chevron_right,
  10. String text = "Slide to confirm",
  11. TextStyle textStyle,
  12. @required VoidCallback onConfirmation,
  13. BorderRadius foregroundShape,
  14. 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});