Idean/Flutter-Neumorphic

NeumorphicSlider doesn't slide.

Mustafa-Altameemi opened this issue · 0 comments

NeumorphicSlider doesn't slide (move) left or right unless I put another finger on any location of the slider.

        NeumorphicSlider(
          height: 15,
          min: 0.0,
          max: 100.0,
          value: _sliderValue,
          style: const SliderStyle(
              accent: Colors.lightGreenAccent,
              variant: Colors.deepOrangeAccent,
              border: NeumorphicBorder(width: 0.0)),
          
          onChangeStart: (percent) {
            setState(() {});
          },
          onChangeEnd: (percent) {
            setState(() {});
          },
          onChanged: (value) {
            setState(() {
              _sliderValue = value;
            });
          },
        ),