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:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user