TestSlideButton constructor

const TestSlideButton({
  1. Key? key,
  2. String text = 'Slide to confirm',
  3. Color backgroundColor = Colors.amber,
  4. Color thumbColor = Colors.white,
  5. Color textColor = Colors.black,
  6. IconData icon = Icons.arrow_forward,
  7. required Function onConfirm,
})

Implementation

const TestSlideButton({
  Key? key,
  this.text = 'Slide to confirm',
  this.backgroundColor = Colors.amber,
  this.thumbColor = Colors.white,
  this.textColor = Colors.black,
  this.icon = Icons.arrow_forward,
  required this.onConfirm,
}) : super(key: key);