flutter-form-builder-ecosystem / flutter_form_builder

Simple form maker for Flutter Framework
https://pub.dev/packages/flutter_form_builder
MIT License
1.45k stars 526 forks source link

[FormBuilderRangeSlider]: Add maxRange value #1358

Open LinschotenMelle opened 5 months ago

LinschotenMelle commented 5 months ago

Is there an existing issue for this?

Package/Plugin version

9.2.0

What you'd like to happen

In our flutter project we have your FormBuilderRangeSlider active but there is one issue with it. We want to add a max range of 7, but it seems like that isn't possible. Could it be possible that this can be a thing? With validation i can see when the value is lower than 7 but i cant stop the slider from sliding to like a maxRange of 2 or 5.

Alternatives you've considered

An alternative could be that you can add an minValue and maxValue and make the dots only react to those values. Then it is fully customizable

Aditional information

No response