flutter_time_range_picker icon indicating copy to clipboard operation
flutter_time_range_picker copied to clipboard

Changing the duration only when changing the end

Open mtc-jed opened this issue 3 years ago • 4 comments
trafficstars

This is a feature proposal.

It would be nice for the widget to be able to keep the duration when updating the start time (ie duration is 8 hours from 8:00 to 16:00, if I slide the start to 10:00 the end slides to 18:00 automatically), but not when updating the end time.

mtc-jed avatar Mar 14 '22 10:03 mtc-jed

Sounds like a quite specialized feature. Can you describe a good use case for this?

Chris1234567899 avatar Mar 14 '22 13:03 Chris1234567899

Yeah, I know. Main use case is "I came in later/sooner, but I still did the same amount of time". So you just put the right starting time and you're good to go.

mtc-jed avatar Mar 14 '22 13:03 mtc-jed

I'm not sure if this feature is really that relevant for a wider audience. I'll leave this issue open for a while to see whether more people are requiring this feature. In the meanwhile, fell free to make a PR if you want ;-)

Chris1234567899 avatar Mar 16 '22 23:03 Chris1234567899

Up

danielmessi13 avatar Sep 02 '22 15:09 danielmessi13