InputSlider constructor

const InputSlider({
  1. required dynamic onChange(
    1. double
    ),
  2. required double min,
  3. required double max,
  4. required double defaultValue,
  5. dynamic onChangeEnd(
    1. double
    )?,
  6. dynamic onChangeStart(
    1. double
    )?,
  7. Widget? leading,
  8. int decimalPlaces = 2,
  9. int? division,
  10. Color? activeSliderColor,
  11. Color? inactiveSliderColor,
  12. TextStyle? textFieldStyle,
  13. bool? filled,
  14. Color? fillColor,
  15. Color? borderColor,
  16. Color? focusBorderColor,
  17. BorderRadius? borderRadius,
  18. InputDecoration? inputDecoration,
  19. int? leadingWeight,
  20. int? sliderWeight,
  21. Size? textFieldSize,
  22. bool vertical = false,
})

Implementation

const InputSlider(
    {required this.onChange,
    required this.min,
    required this.max,
    required this.defaultValue,
    this.onChangeEnd,
    this.onChangeStart,
    this.leading,
    this.decimalPlaces = 2,
    this.division,
    this.activeSliderColor,
    this.inactiveSliderColor,
    this.textFieldStyle,
    this.filled,
    this.fillColor,
    this.borderColor,
    this.focusBorderColor,
    this.borderRadius,
    this.inputDecoration,
    this.leadingWeight,
    this.sliderWeight,
    this.textFieldSize,
    this.vertical = false})
    : super();