-
Notifications
You must be signed in to change notification settings - Fork 4
Add parameter for initial value #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Hi, |
|
Hi @redwildrider, thank you for your advice, i forgot to read the documentation. |
…use initial item in FixedExtentScrollController instead
|
Done @redwildrider, please kindly review it again 😄 |
|
I like your solution @prasetya4di . I'm looking forward to seeing the new version with your changes!! Thanks 😄 |
Any chance it will go live soon? |
Hello @redwildrider is there any plan to release a new version ? 😁 |
|
@prasetya4di I think there is a bug in your solution in place where but here you take i.e. if you set min = 20, max = 100 and division = 1, then Thanks for your work! |
…rectly inside create weight list function
Sorry it took me a while to update the code, been busy with work. By the way thanks for the insight, i'm update the code so it able to support your use case 😄 |
Background
First of all, thank you for your work.
I am currently working on a fitness app, and I'm using your library to allow users to insert their weight. I have a function that enables users to update their weight, so I need to start the weight picker at the latest user's weight when a user wants to update their weight.
I am adding a new
initialValueparameter that indicates the initial point of the weight picker.Steps
initialValueparameter.FixedExtendScrollControllerso i can jump to any index in the list view.PostFrameCallbackfunction in initState to jump to initialValue when the view is finished built