FlutterSliderHatchMark constructor

FlutterSliderHatchMark({
  1. bool disabled = false,
  2. double density = 1,
  3. double? linesDistanceFromTrackBar,
  4. double? labelsDistanceFromTrackBar,
  5. List<FlutterSliderHatchMarkLabel>? labels,
  6. FlutterSliderSizedBox? smallLine,
  7. FlutterSliderSizedBox? bigLine,
  8. FlutterSliderHatchMarkAlignment linesAlignment = FlutterSliderHatchMarkAlignment.right,
  9. FlutterSliderSizedBox? labelBox,
  10. bool? displayLines,
})

Implementation

FlutterSliderHatchMark({
  this.disabled = false,
  this.density = 1,
  this.linesDistanceFromTrackBar,
  this.labelsDistanceFromTrackBar,
  this.labels,
  this.smallLine,
  this.bigLine,
  this.linesAlignment = FlutterSliderHatchMarkAlignment.right,
  this.labelBox,
  this.displayLines,
}) : assert(density > 0 && density <= 2);