I got this problem after upgrading Flutter and updating the SDK version in pubspec.yalm
in my Flutter web project.
Error: The argument type 'void Function(TapDownDetails)' can't be assigned to the parameter type 'void Function(TapDragDownDetails)?'.
gesture_detector_builder.dart:186
- 'TapDownDetails' is from 'package:flutter/src/gestures/tap.dart' ('../../../dev/flutter/packages/flutter/lib/src/gestures/tap.dart').