flutter_duration_picker
flutter_duration_picker copied to clipboard
[FEAT] - Allow HapticFeedback on value change
It would be great if this library could provide feedback to the user on scroll via the HapticFeedback API. Options for enabling this as I see it:
-
have an
enableHapticFeedback: bool
in the settings which callsHapticFeedback.selectionClick()
in the_handleTimeChanged
method of_DurationPickerDialogState
-
provide a callback to the consumer on calls to the
_handleTimeChanged
method of_DurationPickerDialogState
I personally prefer option 2. It's a bit more generic.