Remove Cupertino branches from terminal chat shell

Keep the existing Material terminal and chat-shell behavior while removing live Cupertino widgets, icon metadata, and alternate-host branches. Retain only the documented optional compatibility parameters until remaining callers migrate.
This commit is contained in:
2026-11-11 20:05:55 +00:00
parent 3f05421e8b
commit 214bbbc54f
30 changed files with 66 additions and 179 deletions
@@ -10,13 +10,8 @@ const String chatShellDismissAllLabel = 'Dismiss all finished commands';
/// The card's Dismiss button, offered once the command has finished.
class ChatShellDismissButton extends StatelessWidget {
const ChatShellDismissButton({
super.key,
required this.cupertino,
required this.onPressed,
});
const ChatShellDismissButton({super.key, required this.onPressed});
final bool cupertino;
final VoidCallback onPressed;
@override
@@ -48,7 +43,6 @@ Future<void> dismissChatShellRuns(
BuildContext context,
ChatShellRunsController controller,
List<String> ids, {
required bool cupertino,
void Function(String refusal)? onRefused,
}) async {
if (ids.isEmpty) return;