CDKPickerSliderGradient constructor

const CDKPickerSliderGradient({
  1. Key? key,
  2. required List<Color> colors,
  3. required List<double> stops,
  4. Color thumbColorBackground = CDKTheme.transparent,
  5. required double value,
  6. bool enabled = true,
  7. required dynamic onChanged(
    1. double,
    2. 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);