Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
flutterui:slider_button [2023/02/02 10:23] admin |
flutterui:slider_button [2023/02/02 10:25] admin |
||
---|---|---|---|
Line 14: | Line 14: | ||
{{:flutterui:sliderbutton.png?nolink&400|}} | {{:flutterui:sliderbutton.png?nolink&400|}} | ||
- | If you slide to the right, the slider will show a check and it's not possible to press again: | + | If you slide to the right, the slider will show a check image and it's not possible to use it again: |
{{:flutterui:sliderbutton_done.png?nolink&400|}} | {{:flutterui:sliderbutton_done.png?nolink&400|}} | ||
+ | If you want to use it multiple times, simple add: | ||
+ | <file java> | ||
+ | Style.addStyleNames(button, "f_slide_reset"); | ||
+ | </file> | ||
+ | |||
+ | In this case, double press will reset the slider and it will be possible to use it again. |