You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/flutter/test/material/input_decorator_test.dart
-140Lines changed: 0 additions & 140 deletions
Original file line number
Diff line number
Diff line change
@@ -5023,146 +5023,6 @@ void main() {
5023
5023
expect(tester.takeException(), isNull);
5024
5024
});
5025
5025
5026
-
testWidgets('min intrinsic height for TextField with prefix icon', (WidgetTester tester) async {
5027
-
// Regression test for: https://github.com/flutter/flutter/issues/87403
5028
-
await tester.pumpWidget(MaterialApp(
5029
-
home:Material(
5030
-
child:Center(
5031
-
child:SizedBox(
5032
-
width:100.0,
5033
-
child:IntrinsicHeight(
5034
-
child:Column(
5035
-
children:<Widget>[
5036
-
TextField(
5037
-
controller:TextEditingController(text:'input'),
5038
-
maxLines:null,
5039
-
decoration:constInputDecoration(
5040
-
prefixIcon:Icon(Icons.search),
5041
-
),
5042
-
),
5043
-
],
5044
-
),
5045
-
),
5046
-
),
5047
-
),
5048
-
),
5049
-
));
5050
-
5051
-
expect(tester.takeException(), isNull);
5052
-
});
5053
-
5054
-
testWidgets('min intrinsic height for TextField with suffix icon', (WidgetTester tester) async {
5055
-
// Regression test for: https://github.com/flutter/flutter/issues/87403
5056
-
await tester.pumpWidget(MaterialApp(
5057
-
home:Material(
5058
-
child:Center(
5059
-
child:SizedBox(
5060
-
width:100.0,
5061
-
child:IntrinsicHeight(
5062
-
child:Column(
5063
-
children:<Widget>[
5064
-
TextField(
5065
-
controller:TextEditingController(text:'input'),
5066
-
maxLines:null,
5067
-
decoration:constInputDecoration(
5068
-
suffixIcon:Icon(Icons.search),
5069
-
),
5070
-
),
5071
-
],
5072
-
),
5073
-
),
5074
-
),
5075
-
),
5076
-
),
5077
-
));
5078
-
5079
-
expect(tester.takeException(), isNull);
5080
-
});
5081
-
5082
-
testWidgets('min intrinsic height for TextField with prefix', (WidgetTester tester) async {
5083
-
// Regression test for: https://github.com/flutter/flutter/issues/87403
5084
-
await tester.pumpWidget(MaterialApp(
5085
-
home:Material(
5086
-
child:Center(
5087
-
child:SizedBox(
5088
-
width:100.0,
5089
-
child:IntrinsicHeight(
5090
-
child:Column(
5091
-
children:<Widget>[
5092
-
TextField(
5093
-
controller:TextEditingController(text:'input'),
5094
-
maxLines:null,
5095
-
decoration:constInputDecoration(
5096
-
prefix:Text('prefix'),
5097
-
),
5098
-
),
5099
-
],
5100
-
),
5101
-
),
5102
-
),
5103
-
),
5104
-
),
5105
-
));
5106
-
5107
-
expect(tester.takeException(), isNull);
5108
-
});
5109
-
5110
-
testWidgets('min intrinsic height for TextField with suffix', (WidgetTester tester) async {
5111
-
// Regression test for: https://github.com/flutter/flutter/issues/87403
5112
-
await tester.pumpWidget(MaterialApp(
5113
-
home:Material(
5114
-
child:Center(
5115
-
child:SizedBox(
5116
-
width:100.0,
5117
-
child:IntrinsicHeight(
5118
-
child:Column(
5119
-
children:<Widget>[
5120
-
TextField(
5121
-
controller:TextEditingController(text:'input'),
5122
-
maxLines:null,
5123
-
decoration:constInputDecoration(
5124
-
suffix:Text('suffix'),
5125
-
),
5126
-
),
5127
-
],
5128
-
),
5129
-
),
5130
-
),
5131
-
),
5132
-
),
5133
-
));
5134
-
5135
-
expect(tester.takeException(), isNull);
5136
-
});
5137
-
5138
-
testWidgets('min intrinsic height for TextField with icon', (WidgetTester tester) async {
5139
-
// Regression test for: https://github.com/flutter/flutter/issues/87403
5140
-
await tester.pumpWidget(MaterialApp(
5141
-
home:Material(
5142
-
child:Center(
5143
-
child:SizedBox(
5144
-
width:100.0,
5145
-
child:IntrinsicHeight(
5146
-
child:Column(
5147
-
children:<Widget>[
5148
-
TextField(
5149
-
controller:TextEditingController(text:'input'),
5150
-
maxLines:null,
5151
-
decoration:constInputDecoration(
5152
-
icon:Icon(Icons.search),
5153
-
),
5154
-
),
5155
-
],
5156
-
),
5157
-
),
5158
-
),
5159
-
),
5160
-
),
5161
-
));
5162
-
5163
-
expect(tester.takeException(), isNull);
5164
-
});
5165
-
5166
5026
testWidgets('InputDecorationTheme floatingLabelStyle overrides label widget styles when the widget is a text widget (focused)', (WidgetTester tester) async {
0 commit comments