KRSlider constructor
KRSlider({
- Key? key,
- VoidCallback? action,
- double radius = 100,
- bool vibrationFlag = false,
- double height = 45,
- double width = 200,
- Alignment alignLabel = const Alignment(0, 0),
- Color backgroundColor = const Color(0xffe0e0e0),
- Color baseColor = Colors.black87,
- Color buttonColor = Colors.white,
- Color highlightedColor = Colors.white,
- required Widget label,
- IconData? icon,
- bool dismissible = true,
- double dismissThresholds = 1.0,
- 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);