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 calls HapticFeedback.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.
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.