FSliderMark constructor
const
FSliderMark({
- required double value,
- FSliderMarkStyle? style,
- bool tick = true,
- 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.');