Mindinventory / progressive_time_picker

A Customizable Progressive Time Picker for Flutter.
https://www.mindinventory.com/flutter-app-development.php
MIT License
68 stars 13 forks source link

Update selected time scale programmatically. #10

Closed ShyshkovOleg closed 1 year ago

ShyshkovOleg commented 1 year ago

Hi, Is there a way to update time scale programmatically? When I try to update them, nothing happens. setState(() { _inBedTime = PickedTime(h: 13, m: 0); _outBedTime = PickedTime(h: 18, m: 0); }) On the other hand time format update correctly inside setState.

dragonfire1975 commented 1 year ago

Hello Together, does it work? For me update does not work.

mohit-chauhan-mi commented 1 year ago

Implemented this, please check it with the latest version. Thanks.

dragonfire1975 commented 1 year ago

Hello Mohit,

thanks for the fix it works. I also added a pull request regarding Scaling of the decoration numbers. I used the scalefactor to adjust the positioning like descriped in the comment of the variable. Can you confirm the pull request, so i can use your time picker.

Mit freundlichen Grüßen / Best Regards


Keller-automation

Christian Keller Albert-Schweitzer-Strasse 17

D-68723 Schwetzingen

email: @. @.> Tel.: +49 176 62174859

Am 17.05.2023 um 15:36 schrieb Mohit Chauhan @.***>:

Implemented this, please check it with the latest version https://pub.dev/packages/progressive_time_picker/versions/0.0.9. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/Mindinventory/progressive_time_picker/issues/10#issuecomment-1551413944, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCRO34ABSSYCPHUGILIBMTXGTH6XANCNFSM6AAAAAAXINZP74. You are receiving this because you commented.