KRSlider constructor

KRSlider({
  1. Key? key,
  2. VoidCallback? action,
  3. double radius = 100,
  4. bool vibrationFlag = false,
  5. double height = 45,
  6. double width = 200,
  7. Alignment alignLabel = const Alignment(0, 0),
  8. Color backgroundColor = const Color(0xffe0e0e0),
  9. Color baseColor = Colors.black87,
  10. Color buttonColor = Colors.white,
  11. Color highlightedColor = Colors.white,
  12. required Widget label,
  13. IconData? icon,
  14. bool dismissible = true,
  15. double dismissThresholds = 1.0,
  16. bool disable = false,
})

Implementation

KRSlider({
  Key? key,
  this.action,
  this.radius = 100,
  this.vibrationFlag = false,
  this.height = 45,
  this.width = 200,
  this.alignLabel = const Alignment(0, 0),
  this.backgroundColor = const Color(0xffe0e0e0),
  this.baseColor = Colors.black87,
  this.buttonColor = Colors.white,
  this.highlightedColor = Colors.white,
  required this.label,
  this.icon,
  this.dismissible = true,
  this.dismissThresholds = 1.0,
  this.disable = false,
}) : super(key: key);