Adjust Flutter RangeSlider by moving the whole range at once? - flutter

I've been using the new RangeSlider now included in Flutter. Works great. I'm looking for a subtle UI adaptation, though I haven't figured out how to do it, or if it's even possible. I'd like to have the user be able to drag and move the range (start and end) by dragging on the active handle between the start and end thumbs.
I'm not finding too many in depth examples online about the full range of features of the RangeSlider though, so I'm wondering if anybody's had to do this before.
Or perhaps there's another range slider type plugin that might have that functionality...? Thanks for any leads or ideas.

Related

how to detect colors from asset in flutter

i have design like below.
i need to put number widget in the path above and change the color of number based on some logic
provided with path asset like this (it's too long to be shown here)
while thinking how to achieve this, it's impossible to draw path from scratch because it's too complex (is it?),, i think if there's a way to detect list of coordinates of color from path provided above would be helpful, or maybe any other suggestion to achieve this? thank you..
===== edit
the requirement is so similar with map in game development like this
i wonder how they could accurately put the number widget in such position. hardcoding x and y coordinate wouldn't work in terms of responsiveness i think

How can I add physics animations to a Flutter app

I’m trying to add an effect on a series of containers where they constantly move around a phone screen. This is similar to what is shown below, however they need to be able to bounce off each other too.
Has anyone tried something like this before and can point me on the right direction please? Worth noting that I need the containers to be widgets and so can’t just use a video.
Thanks a lot!

is it possible to change overlay iocn size when zoom osm droid map

I spent many hours on it but not getting any fruitful response.I am trying to increasing the size of overlay icon when map is zoom but its not work, I am new on this please help on this
Yes it is, however you have to do the work. Basically, you need to create an MapView.onChangeListener and register it. When the zoom level changes, you need to iterate though your overlays and replace the icon with one of a different size.
At some point in your travels, you'll probably figure out that there will be concurrency/inconsistency issues with over zealous zoomers and panners. To handle this, you can wait until after the user stops scrolling or zooming after a period of time, then do the work.

Android ListView-like scrolling WITHOUT the ListView

I've been Googling like crazy for a while now, and I simply can't find any answers to the question: is it possible to implement the Android List scrolling, without using an actual list UI?
I'm trying to make a grid of rectangles such as the kind you would find in a typical game app respond to finger movement in the same way that it does using Android lists (bounce on the bounds, the 'flick' effect, etc), but all of the approaches I've found involve over-complicated solutions involving extending the list, defining XML layouts, etc.
Would it not be possible to simply give an object variables for 'document' height, 'viewable' height and y-offset? I'm happy to give the delta (MS since last update) to the object on every update. It would also be good if the actual interactive region was also definable.
Additionally; are there strong advantages to using the ListView instead that I'm missing? I assume responsiveness comes into play, but I'm quite happily managing that manually at the moment.
Just use ScrollView directly, assuming you only need vertical scrolling.

Scrollwheel as UISlider replacement

How can I integrate a Scrollwheel into my application?
I'm currently using Sliders but have found them to be sometimes difficult to control exactly (for example with a linear scale from 0% to 100%). I guess they weren't designed for that purpose and are meant to be used for cases where not pitch perfect control is ok (Volume Control and the likes). However, I really need an exact way of inputting data (other than TextFields, they won't work in my case).
I figured that a Scrollwheel kind of UI Element would be perfect for me. Are there any opensourced Scrollwheels available that would fit my needs?
Horizontal, just like Sliders
Variable Start and End Values
Variable Scale
Small in height
Pretty :)
I tried using the Picker but that didn't work for me since it shows it's values inside of it, which makes it both big and not pretty to look at when used multiple times inside of one View.
If there's nothing available that fulfills my needs (described above) could someone please give me a hint on how to start effectively with creating such a UI element? Thanks!
I've finally found something which fits my needs :)
OBSlider, a subclass of UISlider which allows variable scrubbing speeds – it imitates the behavior seen while scrubbing in iPod.app.
Fulfills all my needs:
Horizontal
Variable Start and End Values
Variable Scale
Small in height
Pretty :)