Reduce the haptic feedback on the draggable widget. (#19585)

This commit is contained in:
David Shuckerow 2018-07-27 14:53:51 -07:00 committed by GitHub
parent 154dbc5975
commit 0b1ef6bb1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ class LongPressDraggable<T> extends Draggable<T> {
..onStart = (Offset position) {
final Drag result = onStart(position);
if (result != null && hapticFeedbackOnStart)
HapticFeedback.vibrate();
HapticFeedback.selectionClick();
return result;
};
}