@@ -2345,18 +2345,14 @@ class _InputDecoratorState extends State<InputDecorator> with TickerProviderStat
2345
2345
if (decoration.filled ?? false ) {
2346
2346
contentPadding = decorationContentPadding ?? (decorationIsDense
2347
2347
? const EdgeInsets .fromLTRB (12.0 , 8.0 , 12.0 , 8.0 )
2348
- : themeData.useMaterial3
2349
- ? const EdgeInsets .fromLTRB (12.0 , 12.75 , 12.0 , 12.75 )
2350
- : const EdgeInsets .fromLTRB (12.0 , 12.0 , 12.0 , 12.0 ));
2348
+ : const EdgeInsets .fromLTRB (12.0 , 12.0 , 12.0 , 12.0 ));
2351
2349
} else {
2352
2350
// Not left or right padding for underline borders that aren't filled
2353
2351
// is a small concession to backwards compatibility. This eliminates
2354
2352
// the most noticeable layout change introduced by #13734.
2355
2353
contentPadding = decorationContentPadding ?? (decorationIsDense
2356
2354
? const EdgeInsets .fromLTRB (0.0 , 8.0 , 0.0 , 8.0 )
2357
- : themeData.useMaterial3
2358
- ? const EdgeInsets .fromLTRB (0.0 , 12.75 , 0.0 , 12.75 )
2359
- : const EdgeInsets .fromLTRB (0.0 , 12.0 , 0.0 , 12.0 ));
2355
+ : const EdgeInsets .fromLTRB (0.0 , 12.0 , 0.0 , 12.0 ));
2360
2356
}
2361
2357
} else {
2362
2358
floatingLabelHeight = 0.0 ;
0 commit comments