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
@@ -5,18 +5,14 @@ import 'chat_shell_command.dart';
/// The chat actions menu's "Run command…": a small host dialog with one
/// command field. Returns the trimmed command, or null when cancelled.
Future<String?> showChatShellRunDialog(
BuildContext context, {
required bool cupertino,
}) => showDialog<String>(
context: context,
builder: (_) => const ChatShellRunDialog(cupertino: false),
);
Future<String?> showChatShellRunDialog(BuildContext context) =>
showDialog<String>(
context: context,
builder: (_) => const ChatShellRunDialog(),
);
class ChatShellRunDialog extends StatefulWidget {
const ChatShellRunDialog({super.key, required this.cupertino});
final bool cupertino;
const ChatShellRunDialog({super.key});
@override
State<ChatShellRunDialog> createState() => _ChatShellRunDialogState();