CDKPickerSliderGradient constructor
const
CDKPickerSliderGradient(- {Key? key,
- required List<Color> colors,
- required List<double> stops,
- Color thumbColorBackground = CDKTheme.transparent,
- required double value,
- bool enabled = true,
- required dynamic onChanged(
- double,
- Color
)?}
)
Implementation
const CDKPickerSliderGradient({
Key? key,
required this.colors,
required this.stops,
this.thumbColorBackground = CDKTheme.transparent,
required this.value,
this.enabled = true,
required this.onChanged,
}) : super(key: key);