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, 'value ($value) must be between 0.0 and 1.0, inclusive.');