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
@@ -10,7 +10,7 @@ void main() {
}) async {
final bubble = ChatBubbleColor(
name: color,
child: const ChatUserBubble(cupertino: false, child: Text('Hello')),
child: const ChatUserBubble(child: Text('Hello')),
);
await tester.pumpWidget(
MaterialApp(
@@ -68,9 +68,7 @@ void main() {
testWidgets('a bubble with no colour scope stays neutral', (tester) async {
await tester.pumpWidget(
const MaterialApp(
home: Scaffold(
body: ChatUserBubble(cupertino: false, child: Text('Hello')),
),
home: Scaffold(body: ChatUserBubble(child: Text('Hello'))),
),
);
final context = tester.element(find.byType(ChatUserBubble));