title: how to add discrete points to slider without using divisions in flutter
body: <p>i want to add points to the slider but without using divisions</p>
  
  <pre class="lang-dart prettyprint-override"><code>SliderTheme(
    data: SliderThemeData(
      trackHeight: 1,
    ),
    child: RangeSlider(
      min: 0.0,
      max: 4.0,
      onChanged: _onChange,
      values: state.value,
      onChangeEnd: _onChangeEnd,
      inactiveColor: Colors.grey,
      activeColor: Theme.of(state.context).accentColor,
    ),
  ),    `
  </code></pre>