We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4051fab commit 9e99953Copy full SHA for 9e99953
packages/flutter/test/material/chip_test.dart
@@ -6375,6 +6375,20 @@ void main() {
6375
},
6376
);
6377
6378
+ testWidgets('Chip renders at zero area', (WidgetTester tester) async {
6379
+ await tester.pumpWidget(
6380
+ const MaterialApp(
6381
+ home: Center(
6382
+ child: SizedBox.shrink(
6383
+ child: Scaffold(body: Chip(label: Text('X'))),
6384
+ ),
6385
6386
6387
+ );
6388
+ final Finder xText = find.text('X');
6389
+ expect(tester.getSize(xText).isEmpty, isTrue);
6390
+ });
6391
+
6392
testWidgets('RawChip renders at zero area', (WidgetTester tester) async {
6393
await tester.pumpWidget(
6394
const MaterialApp(
0 commit comments