tape_measure 1.0.2 copy "tape_measure: ^1.0.2" to clipboard
tape_measure: ^1.0.2 copied to clipboard

A Slider replacement widget.

Tape Measure #

A slider with tape measure look. A drop-in replacement for Slider with a few extra features.

Use it just like a regular Slider:

TapeMeasureSlider(
  value: sliderValue,
  min: 0,
  max: 360,
  divisions: 360,
  smallTickEvery: 5,
  bigTickEvery: 10,
  mainTickEvery: 90,
  mainSnapDistance: 5,
  tickColor: Colors.blue,
  activeColor: Colors.lightBlue,
  inactiveColor: Colors.lightBlue,
  onChanged: (value) => setState(() {
    sliderValue = value;
  }),
)

Screenshot