FieldStyleSlider constructor

FieldStyleSlider({
  1. double min = 0.0,
  2. double max = 100.0,
  3. int? divisions,
  4. Color? activeColor,
  5. Color? inactiveColor,
  6. Color? thumbColor,
  7. Color? overlayColor,
  8. MouseCursor? mouseCursor,
  9. SemanticFormatterCallback? semanticFormatterCallback,
  10. FocusNode? focusNode,
  11. bool autofocus = false,
  12. SliderInteraction? allowedInteraction,
  13. bool showTitle = true,
  14. Widget? title,
  15. double titleSpacing = 8.0,
  16. bool showLabel = false,
  17. String labelFormatter(
    1. double value
    ) = _defaultLabelFormatter,
  18. bool showValue = true,
  19. String valueFormatter(
    1. double value
    ) = _defaultValueFormatter,
  20. TextStyle? valueTextStyle,
  21. double valueSpacing = 8.0,
  22. bool enabled = true,
  23. double? headerSpacing = 5.0,
  24. double? footerSpacing = 5.0,
})

Implementation

FieldStyleSlider({
  this.min = 0.0,
  this.max = 100.0,
  this.divisions,
  this.activeColor,
  this.inactiveColor,
  this.thumbColor,
  this.overlayColor,
  this.mouseCursor,
  this.semanticFormatterCallback,
  this.focusNode,
  this.autofocus = false,
  this.allowedInteraction,
  this.showTitle = true,
  this.title,
  this.titleSpacing = 8.0,
  this.showLabel = false,
  this.labelFormatter = _defaultLabelFormatter,
  this.showValue = true,
  this.valueFormatter = _defaultValueFormatter,
  this.valueTextStyle,
  this.valueSpacing = 8.0,
  this.enabled = true,
  super.headerSpacing,
  super.footerSpacing,
});