Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] - Allow HapticFeedback on value change #27

Open
royston-c opened this issue Sep 29, 2020 · 0 comments
Open

[FEAT] - Allow HapticFeedback on value change #27

royston-c opened this issue Sep 29, 2020 · 0 comments

Comments

@royston-c
Copy link

royston-c commented Sep 29, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant