Open YDA93 opened 1 year ago
Im creating a opening hours for a store where users expected to list their Working Hours on days of week.
The problem is i want to disable the user from creating times like 10 PM to 3 AM because the user shouldn't pass 24 hours.
The user should select their time within 24 hours of a day but should not pass to the next day like example i mentioned.
I did this by adding a 1 min disabled interval. I also forked this repo to block the sliders from passing through the disabled interval: https://github.com/Jonny1987/flutter_time_range_picker
Im creating a opening hours for a store where users expected to list their Working Hours on days of week.
The problem is i want to disable the user from creating times like 10 PM to 3 AM because the user shouldn't pass 24 hours.
The user should select their time within 24 hours of a day but should not pass to the next day like example i mentioned.