InputSlider constructor

InputSlider(
  1. {Key key,
  2. Color activeColor,
  3. bool autofocus: false,
  4. bool autosave,
  5. bool autovalidate,
  6. int divisions,
  7. InputDecoration decoration,
  8. bool enabled,
  9. FocusNode focusNode,
  10. Color inactiveColor,
  11. double initialValue,
  12. String label,
  13. Map<String, dynamic> map,
  14. double min: 0.0,
  15. double max: 100.0,
  16. ValueChanged<double> onChanged,
  17. dynamic onChangeStart(
    1. double
    ),
  18. dynamic onChangeEnd(
    1. double
    ),
  19. ValueSetter<double> onSaved,
  20. String path,
  21. String semanticFormatterCallback(
    1. double
    ),
  22. List<InputValidator> validators,
  23. bool wantKeepAlive: false}
)

Implementation

InputSlider({
  Key key,
  this.activeColor,
  this.autofocus = false,
  bool autosave,
  bool autovalidate,
  this.divisions,
  InputDecoration decoration,
  bool enabled,
  this.focusNode,
  this.inactiveColor,
  double initialValue,
  this.label,
  Map<String, dynamic> map,
  this.min = 0.0,
  this.max = 100.0,
  ValueChanged<double> onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  ValueSetter<double> onSaved,
  String path,
  this.semanticFormatterCallback,
  List<InputValidator> validators,
  bool wantKeepAlive = false,
})  : assert(min < max),
      super(
        key: key,
        autosave: autosave,
        autovalidate: autovalidate,
        decoration: decoration,
        enabled: enabled,
        initialValue: initialValue,
        map: map,
        onChanged: onChanged,
        onSaved: onSaved,
        path: path,
        validators: validators,
        wantKeepAlive: wantKeepAlive,
      );