@@ -51,8 +51,7 @@ void main() {
51
51
});
52
52
53
53
group ("Group all text tests" , () {
54
- testWidgets ('text used on String creates a Text Widget' ,
55
- (tester) async {
54
+ testWidgets ('text used on String creates a Text Widget' , (tester) async {
56
55
await tester.pumpWidget (
57
56
getDirectionalityWidget (
58
57
child: 'VelocityX' .text.make (),
@@ -65,8 +64,7 @@ void main() {
65
64
);
66
65
});
67
66
68
- testWidgets ('Text widget responds to Font Scale' ,
69
- (tester) async {
67
+ testWidgets ('Text widget responds to Font Scale' , (tester) async {
70
68
await tester.pumpWidget (
71
69
getDirectionalityWidget (
72
70
child: 'VelocityX' .text.xs.make (),
@@ -80,8 +78,7 @@ void main() {
80
78
);
81
79
});
82
80
83
- testWidgets ('Text widget responds to fontSize' ,
84
- (tester) async {
81
+ testWidgets ('Text widget responds to fontSize' , (tester) async {
85
82
await tester.pumpWidget (
86
83
getDirectionalityWidget (
87
84
child: "VelocityX" .text.size (24 ).make (),
@@ -94,8 +91,7 @@ void main() {
94
91
);
95
92
});
96
93
97
- testWidgets ('Text widget responds to FontWeight' ,
98
- (tester) async {
94
+ testWidgets ('Text widget responds to FontWeight' , (tester) async {
99
95
await tester.pumpWidget (
100
96
getDirectionalityWidget (
101
97
child: 'VelocityX' .text.medium.make (),
@@ -112,8 +108,7 @@ void main() {
112
108
);
113
109
});
114
110
115
- testWidgets ('Text widget responds to FontStyle' ,
116
- (tester) async {
111
+ testWidgets ('Text widget responds to FontStyle' , (tester) async {
117
112
await tester.pumpWidget (
118
113
getDirectionalityWidget (child: 'VelocityX' .text.italic.make ()));
119
114
@@ -123,17 +118,15 @@ void main() {
123
118
);
124
119
});
125
120
126
- testWidgets ('Text widget responds to alignment' ,
127
- (tester) async {
121
+ testWidgets ('Text widget responds to alignment' , (tester) async {
128
122
await tester.pumpWidget (
129
123
getDirectionalityWidget (child: 'VelocityX' .text.start.make ()));
130
124
131
125
expect (tester.widget <AutoSizeText >(find.byType (AutoSizeText )).textAlign,
132
126
TextAlign .start);
133
127
});
134
128
135
- testWidgets ('Text widget responds to letter spacing' ,
136
- (tester) async {
129
+ testWidgets ('Text widget responds to letter spacing' , (tester) async {
137
130
await tester.pumpWidget (
138
131
getDirectionalityWidget (child: 'VelocityX' .text.tightest.make ()));
139
132
@@ -158,8 +151,7 @@ void main() {
158
151
4.0 );
159
152
});
160
153
161
- testWidgets ('Text widget responds to TextDecoration' ,
162
- (tester) async {
154
+ testWidgets ('Text widget responds to TextDecoration' , (tester) async {
163
155
await tester.pumpWidget (
164
156
getDirectionalityWidget (child: 'VelocityX' .text.underline.make ()));
165
157
@@ -171,8 +163,7 @@ void main() {
171
163
TextDecoration .underline);
172
164
});
173
165
174
- testWidgets ('Text widget responds to line height' ,
175
- (tester) async {
166
+ testWidgets ('Text widget responds to line height' , (tester) async {
176
167
await tester.pumpWidget (
177
168
getDirectionalityWidget (child: 'VelocityX' .text.heightSnug.make ()));
178
169
@@ -182,8 +173,7 @@ void main() {
182
173
0.875 );
183
174
});
184
175
185
- testWidgets ('Text widget responds to text utilities' ,
186
- (tester) async {
176
+ testWidgets ('Text widget responds to text utilities' , (tester) async {
187
177
await tester.pumpWidget (
188
178
getDirectionalityWidget (child: 'VelocityX' .text.uppercase.make ()));
189
179
0 commit comments