FormSlider constructor

FormSlider({
  1. Key key,
  2. YekongaForm formControl,
  3. @required String name,
  4. @required double value,
  5. @required ValueChanged<double> onChanged,
  6. ValueChanged<double> onChangeStart,
  7. ValueChanged<double> onChangeEnd,
  8. double min = 0.0,
  9. double max = 1.0,
  10. int divisions,
  11. String label,
  12. Color activeColor,
  13. Color inactiveColor,
  14. MouseCursor mouseCursor,
  15. SemanticFormatterCallback semanticFormatterCallback,
  16. FocusNode focusNode,
  17. bool autofocus = false,
  18. bool isRequired = false,
})

Implementation

FormSlider({
  Key key,
  this.formControl,
  @required this.name,
  @required this.value,
  @required this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = 0.0,
  this.max = 1.0,
  this.divisions,
  this.label,
  this.activeColor,
  this.inactiveColor,
  this.mouseCursor,
  this.semanticFormatterCallback,
  this.focusNode,
  this.autofocus = false,
  this.isRequired = false,
}) : super(key: key);