Repository: flutter
Issue: onHorizontalDragUpdate not working with long press
Labels: framework,f: gestures,has reproducible steps,P2,found in release: 3.7,found in release: 3.9,team-framework,triaged-framework

I want to use both `onLongPressStart` and `onHorizontalDragUpdate` together. But `onHorizontalDragUpdate` is not triggered when long press and try to drag. But It can drag with long-press without using `onLongPressStart`.

Note: I can't use the `LongPressDraggable` class. because of this reason https://stackoverflow.com/questions/51216747/constraining-draggable-area

**My end goal is the same as this** [sample](https://github.com/varunjohn/Audio-Recording-Animation) . Please tell me there is another way to create it


**Code** - Try to long press and then drag

<details><summary>Code</summary>

```
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Testing',
      home: Testing(),
      theme: ThemeData(primarySwatch: Palette.materialColor, fontFamily: 'Montserrat', primaryColor: Color(0xFFEDB111)),
  }
}

class Testing extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: GestureDetector(
        onLongPressStart: (v){
          print('onLongPressStart : ${v.globalPosition}');
        },
        onLongPressEnd: (v){
          print('onLongPressEnd : ${v.globalPosition}');
        },
        onHorizontalDragUpdate: (details) {
          print('onHorizontalDragUpdate : ${details.delta}');
        },
        onHorizontalDragEnd: (d) {
         print('onHorizontalDragEnd : ${d.primaryVelocity}');
        },
        child: Center(
          child: Container(
            height: 100,
            width: 100,
            color: Colors.red,
          ),
        ),
      ),
    );
  }
}
```
</details>

I tried `RawGestureDetector` too. but no luck.
<details><summary>Code 2</summary>

```
RawGestureDetector(
            gestures: <Type, GestureRecognizerFactory>{
              LongPressGestureRecognizer:
                  GestureRecognizerFactoryWithHandlers<LongPressGestureRecognizer>(() => LongPressGestureRecognizer(), (LongPressGestureRecognizer instance) {
                instance
                  ..onLongPressStart = (d) {
                    // code is here
                  }
                  ..onLongPressEnd = (d) {
                    // code is here
                  };
              }),
              HorizontalDragGestureRecognizer: GestureRecognizerFactoryWithHandlers<HorizontalDragGestureRecognizer>(
                () => HorizontalDragGestureRecognizer(),
                (HorizontalDragGestureRecognizer instance) {
                  instance
                    ..onUpdate = (details) {
                     // code is here
                    }
                    ..onEnd = (d) {
                      // code is here
                    };
                },
              ),
              TapGestureRecognizer: GestureRecognizerFactoryWithHandlers<TapGestureRecognizer>(
                () => TapGestureRecognizer(),
                (TapGestureRecognizer instance) {
                  instance
                    ..onTap = () {
                      // code is here
                    };
                },
              ),
            },
            child:
```
</details>

<details><summary>Flutter doctor</summary>

```
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-LK)
    • Flutter version 1.22.5 at /Users/bhanukaisuru/flutter
    • Framework revision 7891006299 (4 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/bhanukaisuru/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.0

[✓] Connected device (1 available)
    • SM C701F (mobile) • b4d0901d • android-arm64 • Android 8.0.0 (API 26)

• No issues found!
```
</details>