CardSettingsSlider constructor
CardSettingsSlider({
- Key? key,
- bool autovalidate = false,
- AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
- FormFieldSetter<
double> ? onSaved, - FormFieldValidator<
double> ? validator, - double initialValue = 0.0,
- bool enabled = true,
- bool visible = true,
- String label = 'Label',
- Widget? requiredIndicator,
- TextAlign? labelAlign,
- double? labelWidth,
- Icon? icon,
- TextAlign? contentAlign,
- ValueChanged<
double> ? onChanged, - ValueChanged<
double> ? onChangedStart, - ValueChanged<
double> ? onChangedEnd, - double? min,
- double? max,
- int? divisions,
- bool? showMaterialonIOS,
- EdgeInsetsGeometry? fieldPadding,
Implementation
CardSettingsSlider({
Key? key,
bool autovalidate: false,
AutovalidateMode autovalidateMode: AutovalidateMode.onUserInteraction,
FormFieldSetter<double>? onSaved,
FormFieldValidator<double>? validator,
double initialValue = 0.0,
this.enabled = true,
this.visible = true,
this.label = 'Label',
this.requiredIndicator,
this.labelAlign,
this.labelWidth,
this.icon,
this.contentAlign,
this.onChanged,
this.onChangedStart,
this.onChangedEnd,
this.min,
this.max,
this.divisions,
this.showMaterialonIOS,
this.fieldPadding,
}) : super(
key: key,
initialValue: initialValue,
onSaved: onSaved,
validator: validator,
// autovalidate: autovalidate,
autovalidateMode: autovalidateMode,
builder: (FormFieldState<double> field) =>
(field as _CardSettingsSliderState)._build(field.context));