Reduce the haptic feedback on the draggable widget. (#19585)
This commit is contained in:
parent
154dbc5975
commit
0b1ef6bb1c
@ -294,7 +294,7 @@ class LongPressDraggable<T> extends Draggable<T> {
|
|||||||
..onStart = (Offset position) {
|
..onStart = (Offset position) {
|
||||||
final Drag result = onStart(position);
|
final Drag result = onStart(position);
|
||||||
if (result != null && hapticFeedbackOnStart)
|
if (result != null && hapticFeedbackOnStart)
|
||||||
HapticFeedback.vibrate();
|
HapticFeedback.selectionClick();
|
||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user