flutter_duration_picker icon indicating copy to clipboard operation
flutter_duration_picker copied to clipboard

[FEAT] - Allow HapticFeedback on value change

Open royston-c opened this issue 4 years ago • 0 comments

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:

  1. have an enableHapticFeedback: bool in the settings which calls HapticFeedback.selectionClick() in the _handleTimeChanged method of _DurationPickerDialogState

  2. 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.

royston-c avatar Sep 29 '20 10:09 royston-c