TSlider constructor
const
TSlider({
- Key? key,
- double? value,
- ValueNotifier<
double?> ? valueNotifier, - ValueChanged<
double?> ? onValueChanged, - FocusNode? focusNode,
- String? label,
- bool isRequired = false,
- List<
String? Function(double?)> ? rules, - Duration? validationDebounce,
- double min = 0,
- double max = 100,
- int? divisions,
- String? labelFormatter,
- int precision = 0,
- Color? color,
- 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,
});