[infra] Remove Flutter gallery test from flutter-analyze-try

The Flutter gallery repository was archived and retired on 2024-01-18, so it can't be updated for the new deprecations that are causing flutter-analyze-try to fail (https://ci.chromium.org/ui/p/dart/builders/try/flutter-analyze-try/20737/overview).

Cq-Include-Trybots: luci.dart.try:flutter-analyze-try
Change-Id: Iedba5a03baaaa1e2180335e14ef93b6dc5065f79
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/347480
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
diff --git a/tools/bots/flutter/analyze_flutter_gallery.sh b/tools/bots/flutter/analyze_flutter_gallery.sh
deleted file mode 100755
index a4cb964..0000000
--- a/tools/bots/flutter/analyze_flutter_gallery.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env bash
-# Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
-# for details. All rights reserved. Use of this source code is governed by a
-# BSD-style license that can be found in the LICENSE file.
-
-# Analyze Dart code in the flutter/gallery repo.
-
-set -ex
-
-checkout=$(pwd)
-dart=$checkout/out/ReleaseX64/dart-sdk/bin/dart
-sdk=$checkout/out/ReleaseX64/dart-sdk
-tmpdir=$(mktemp -d)
-cleanup() {
-  rm -rf "$tmpdir"
-}
-trap cleanup EXIT HUP INT QUIT TERM PIPE
-cd "$tmpdir"
-
-# install flutter
-git clone --single-branch -vv https://github.com/flutter/flutter
-export PATH="$PATH":"$tmpdir/flutter/bin"
-flutter --version
-
-git clone --single-branch -vv \
-  https://dart.googlesource.com/external/github.com/flutter/gallery
-
-cd gallery
-
-# analyze
-echo Analyzing...
-
-flutter packages get
-$dart analyze --suppress-analytics --fatal-infos
diff --git a/tools/bots/test_matrix.json b/tools/bots/test_matrix.json
index 9fca581..e918bfd8 100644
--- a/tools/bots/test_matrix.json
+++ b/tools/bots/test_matrix.json
@@ -3229,10 +3229,6 @@
         {
           "name": "analyze flutter/packages",
           "script": "tools/bots/flutter/analyze_flutter_packages.sh"
-        },
-        {
-          "name": "analyze flutter/gallery",
-          "script": "tools/bots/flutter/analyze_flutter_gallery.sh"
         }
       ]
     },