Repository: flutter
Issue: [go_router_builder] update the version of `analyzer` being used
Labels: has reproducible steps,P2,p: go_router_builder,found in release: 3.10,team-go_router,triaged-go_router,found in release: 3.13

### Is there an existing issue for this?

- [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues)
- [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)

### Steps to reproduce

1. Go to pubspec.yaml and add `riverpod_lint : ^2.0.0` and `go_router_builder :  ^2.3.0` as dependencies
2. Run `flutter pub get`

### Expected results

Should be able to resolve dependencies and get packages.

### Actual results

Because go_router_builder >=1.0.13 depends on analyzer >=4.4.0 <6.0.0 and riverpod_lint 2.0.0 depends on analyzer ^6.0.0, go_router_builder >=1.0.13 is incompatible with riverpod_lint 2.0.0.
And because no versions of riverpod_lint match >2.0.0 <3.0.0, go_router_builder >=1.0.13 is incompatible with riverpod_lint ^2.0.0.
So, because general_app_structure depends on both riverpod_lint ^2.0.0 and go_router_builder ^2.3.0, version solving failed.

### Code sample

Add this to pubscpec.yaml

```
dev_dependencies:
  flutter_test:
    sdk: flutter
  riverpod_lint: ^2.0.0
  go_router_builder: ^2.3.0
```

### Screenshots or Video

<details>
<summary>Screenshot</summary>

![image](https://github.com/flutter/flutter/assets/68654336/03249332-dbef-4302-8a85-d0bcba4dd905)

</details>


### Logs

<details><summary>Logs</summary>

```console
Because go_router_builder >=1.0.13 depends on analyzer >=4.4.0 <6.0.0 and riverpod_lint 2.0.0 depends on analyzer ^6.0.0, go_router_builder >=1.0.13 is incompatible with riverpod_lint 2.0.0.
And because no versions of riverpod_lint match >2.0.0 <3.0.0, go_router_builder >=1.0.13 is incompatible with riverpod_lint ^2.0.0.
So, because general_app_structure depends on both riverpod_lint ^2.0.0 and go_router_builder ^2.3.0, version solving failed.
```

</details>


### Flutter Doctor output

<details><summary>Doctor output</summary>

```console
[√] Flutter (Channel stable, 3.10.6, on Microsoft Windows [Version 10.0.22621.2134], locale en-US)
    • Flutter version 3.10.6 on channel stable at C:\Users\gogom\Documents\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (5 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\Users\gogom\AppData\Local\Android\sdk
    • Platform android-33, build-tools 32.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.81.1)
    • VS Code at C:\Users\gogom\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.70.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.2134]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 115.0.5790.171
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 115.0.1901.203

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.
```

</details>