CardSettingsSlider constructor

CardSettingsSlider({
  1. Key? key,
  2. bool autovalidate = false,
  3. AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
  4. FormFieldSetter<double>? onSaved,
  5. FormFieldValidator<double>? validator,
  6. double initialValue = 0.0,
  7. bool enabled = true,
  8. bool visible = true,
  9. String label = 'Label',
  10. Widget? requiredIndicator,
  11. TextAlign? labelAlign,
  12. double? labelWidth,
  13. Icon? icon,
  14. TextAlign? contentAlign,
  15. ValueChanged<double>? onChanged,
  16. ValueChanged<double>? onChangedStart,
  17. ValueChanged<double>? onChangedEnd,
  18. double? min,
  19. double? max,
  20. int? divisions,
  21. bool? showMaterialonIOS,
  22. 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));