Repository: flutter
Issue: No touchpad swipe to go back on macOS
Labels: framework,platform-mac,a: fidelity,f: cupertino,f: routes,has reproducible steps,P2,found in release: 3.7,found in release: 3.8,team-design,triaged-design

## Steps to Reproduce

1. Build an app with two pages
2. Navigate to 2nd page
3. Swipe with two fingers on the trackpad from left to right

**Expected results:** Going back to 1st page

**Actual results:** Nothing

<details>
<summary>Code sample</summary>


```dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Page1(),
    );
  }
}

class Page1 extends StatelessWidget {
  const Page1({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Page 1'),
      ),
      body: const Center(
        child: Text("Page 1"),
      ),
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.arrow_forward),
        onPressed: () {
          Navigator.of(context).push(
            MaterialPageRoute(builder: (_) => const Page2())
          );
        },
      ),
    );
  }
}

class Page2 extends StatelessWidget {
  const Page2({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Page 2'),
      ),
      body: const Center(
        child: Text("Page 2"),
      ),
    );
  }
}
```

</details>

<details>
  <summary>Logs</summary>

```
Analyzing bug...                                                        
No issues found! (ran in 1.0s)
```

```
[✓] Flutter (Channel stable, 3.7.1, on macOS 12.5 21G72 darwin-arm64, locale en-GB)
    • Flutter version 3.7.1 on channel stable at /Users/kbruen/SDKs/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7048ed95a5 (33 hours ago), 2023-02-01 09:07:31 -0800
    • Engine revision 800594f1f4
    • Dart version 2.19.1
    • DevTools version 2.20.1

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1)
    • IntelliJ at /Users/kbruen/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 71.3.6
    • Dart plugin version 223.8214.16

[✓] VS Code (version 1.74.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (2 available)
    • macOS (desktop)   • macos       • darwin-arm64   • macOS 12.5 21G72 darwin-arm64
    • Chrome (web)      • chrome      • web-javascript • Brave Browser 109.1.47.171

[✓] HTTP Host Availability
    • All required HTTP hosts are available
```

</details>