@@ -4321,17 +4321,17 @@ void main() {
4321
4321
await pumpDecorator (focused: false , empty: false );
4322
4322
await tester.pumpAndSettle ();
4323
4323
expect (getLabelRect (tester).topLeft, equals (const Offset (12 , - 5.5 )));
4324
- expect (getLabelRect (tester).size, equals (const Size (80 , 16 )));
4324
+ expect (getLabelRect (tester).size, equals (const Size (80 , 16 ) * 0.75 ));
4325
4325
4326
4326
await pumpDecorator (focused: true );
4327
4327
await tester.pumpAndSettle ();
4328
4328
expect (getLabelRect (tester).topLeft, equals (const Offset (12 , - 5.5 )));
4329
- expect (getLabelRect (tester).size, equals (const Size (80 , 16 )));
4329
+ expect (getLabelRect (tester).size, equals (const Size (80 , 16 ) * 0.75 ));
4330
4330
4331
4331
await pumpDecorator (focused: true , empty: false );
4332
4332
await tester.pumpAndSettle ();
4333
4333
expect (getLabelRect (tester).topLeft, equals (const Offset (12 , - 5.5 )));
4334
- expect (getLabelRect (tester).size, equals (const Size (80 , 16 )));
4334
+ expect (getLabelRect (tester).size, equals (const Size (80 , 16 ) * 0.75 ));
4335
4335
4336
4336
await pumpDecorator (focused: false , enabled: false );
4337
4337
await tester.pumpAndSettle ();
@@ -4341,7 +4341,7 @@ void main() {
4341
4341
await pumpDecorator (focused: false , empty: false , enabled: false );
4342
4342
await tester.pumpAndSettle ();
4343
4343
expect (getLabelRect (tester).topLeft, equals (const Offset (12 , - 5.5 )));
4344
- expect (getLabelRect (tester).size, equals (const Size (80 , 16 )));
4344
+ expect (getLabelRect (tester).size, equals (const Size (80 , 16 ) * 0.75 ));
4345
4345
4346
4346
// Focused and disabled happens with NavigationMode.directional.
4347
4347
await pumpDecorator (focused: true , enabled: false );
@@ -4352,7 +4352,7 @@ void main() {
4352
4352
await pumpDecorator (focused: true , empty: false , enabled: false );
4353
4353
await tester.pumpAndSettle ();
4354
4354
expect (getLabelRect (tester).topLeft, equals (const Offset (12 , - 5.5 )));
4355
- expect (getLabelRect (tester).size, equals (const Size (80 , 16 )));
4355
+ expect (getLabelRect (tester).size, equals (const Size (80 , 16 ) * 0.75 ));
4356
4356
});
4357
4357
4358
4358
testWidgets ('InputDecorationTheme.toString()' , (WidgetTester tester) async {
0 commit comments