Bump analyzer from 4.7.0 to 5.4.0 in /app_dart (#2420)

Bumps [analyzer](https://github.com/dart-lang/sdk/tree/main/pkg) from 4.7.0 to 5.4.0.
- [Release notes](https://github.com/dart-lang/sdk/releases)
- [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/sdk/commits/HEAD/pkg)

---
updated-dependencies:
- dependency-name: analyzer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
diff --git a/app_dart/pubspec.lock b/app_dart/pubspec.lock
index 579b635..49cede6 100644
--- a/app_dart/pubspec.lock
+++ b/app_dart/pubspec.lock
@@ -14,14 +14,14 @@
       name: _fe_analyzer_shared
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "47.0.0"
+    version: "52.0.0"
   analyzer:
     dependency: "direct dev"
     description:
       name: analyzer
       url: "https://pub.dartlang.org"
     source: hosted
-    version: "4.7.0"
+    version: "5.4.0"
   appengine:
     dependency: "direct main"
     description:
diff --git a/app_dart/pubspec.yaml b/app_dart/pubspec.yaml
index 41a7f5a..26ff880 100644
--- a/app_dart/pubspec.yaml
+++ b/app_dart/pubspec.yaml
@@ -42,7 +42,7 @@
   yaml: ^3.1.1
 
 dev_dependencies:
-  analyzer: ^4.0.0
+  analyzer: ^5.4.0
   build_runner: ^2.3.2
   fake_async: ^1.3.1
   flutter_lints: ^2.0.1