enableFeedback property

bool? enableFeedback
final

Whether detected gestures should provide acoustic and/or haptic feedback.

For example, on Android a tap will produce a clicking sound and a long-press will produce a short vibration, when feedback is enabled.

If null, FloatingActionButtonThemeData.enableFeedback is used. If both are null, then default value is true.

See also:

  • Feedback for providing platform-specific feedback to certain actions.

Implementation

final bool? enableFeedback;