TSlider constructor

const TSlider({
  1. Key? key,
  2. double? value,
  3. ValueNotifier<double?>? valueNotifier,
  4. ValueChanged<double?>? onValueChanged,
  5. FocusNode? focusNode,
  6. String? label,
  7. bool isRequired = false,
  8. List<String? Function(double?)>? rules,
  9. Duration? validationDebounce,
  10. double min = 0,
  11. double max = 100,
  12. int? divisions,
  13. String? labelFormatter,
  14. int precision = 0,
  15. Color? color,
  16. bool disabled = false,
})

Implementation

const TSlider({
  super.key,
  this.value,
  this.valueNotifier,
  this.onValueChanged,
  this.focusNode,
  this.label,
  this.isRequired = false,
  this.rules,
  this.validationDebounce,
  this.min = 0,
  this.max = 100,
  this.divisions,
  this.labelFormatter,
  this.precision = 0,
  this.color,
  this.disabled = false,
});