FSliderMark constructor

const FSliderMark({
  1. required double value,
  2. FSliderMarkStyle? style,
  3. bool tick = true,
  4. Widget? label,
})

Creates a FSliderMark at the given percentage in a slider.

Implementation

const FSliderMark({
  required this.value,
  this.style,
  this.tick = true,
  this.label,
}) : assert(0 <= value && value <= 1, 'offset must be between 0 and 1, but is $value.');