Send button: fixed size in every design and a clear 3px gap to its usage ring

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 22:04:02 +00:00
parent 81c73275c0
commit 3e066622d8
3 changed files with 30 additions and 17 deletions
@@ -103,7 +103,11 @@ void main() {
await tester.pumpWidget(composerThread(gateway));
await tester.pumpAndSettle();
final send = find.byKey(const Key('chat-composer-primary'));
expect(tester.widget<IconButton>(send).style, isNull);
// Only the fixed size is set: no colours, so the host's filled colours
// apply.
final style = tester.widget<IconButton>(send).style!;
expect(style.backgroundColor, isNull);
expect(style.foregroundColor, isNull);
expect(chatSchemeOf(tester.element(send), null), isNull);
});