Remove dead Cupertino chat paths

Keep the chat transcript and toolbar on their existing Material behavior while removing obsolete Cupertino-only helpers, arguments, and icon metadata. Preserve compatibility parameters where callers outside this lane still require them.
This commit is contained in:
2026-11-11 20:05:45 +00:00
parent 3f05421e8b
commit 87a568a7b4
11 changed files with 31 additions and 74 deletions
@@ -202,7 +202,6 @@ class _ChatMarkdownViewState extends State<ChatMarkdownView> {
);
return ChatCodeCopyRegion(
code: code,
cupertino: false,
label: Text(markdownCodeLabel(language), style: labelStyle),
child: DecoratedBox(
decoration: BoxDecoration(color: _codeFill(context)),
@@ -274,13 +273,7 @@ class _ChatMarkdownViewState extends State<ChatMarkdownView> {
),
onEnter: (event) {
if (_route?.isCurrent != false) {
_codeHover.show(
context,
token,
text,
event.position,
cupertino: false,
);
_codeHover.show(context, token, text, event.position);
}
},
onExit: (_) => _codeHover.scheduleHide(token),