@@ -57,7 +57,7 @@ void main() {
57
57
expect (_getOpacity (bottomRoute, tester), 1.0 );
58
58
// top route is at 95% of full size and not visible yet.
59
59
expect (find.text (topRoute), findsOneWidget);
60
- expect (_getScale (topRoute, tester), 0.95 );
60
+ expect (_getScale (topRoute, tester), 0.92 );
61
61
expect (_getOpacity (topRoute, tester), 0.0 );
62
62
63
63
// Jump to half-way through the fade out (total duration is 300ms, 6/12th of
@@ -71,7 +71,7 @@ void main() {
71
71
expect (bottomOpacity, greaterThan (0.0 ));
72
72
// Top route is still invisible.
73
73
expect (find.text (topRoute), findsOneWidget);
74
- expect (_getScale (topRoute, tester), 0.95 );
74
+ expect (_getScale (topRoute, tester), 0.92 );
75
75
expect (_getOpacity (topRoute, tester), 0.0 );
76
76
77
77
// Let's jump to the end of the fade-out.
@@ -82,7 +82,7 @@ void main() {
82
82
expect (_getOpacity (bottomRoute, tester), 0.0 );
83
83
// Top route is still invisible.
84
84
expect (find.text (topRoute), findsOneWidget);
85
- expect (_getScale (topRoute, tester), 0.95 );
85
+ expect (_getScale (topRoute, tester), 0.92 );
86
86
expect (_getOpacity (topRoute, tester), 0.0 );
87
87
88
88
// Let's jump to the middle of the fade-in.
@@ -95,7 +95,7 @@ void main() {
95
95
expect (find.text (topRoute), findsOneWidget);
96
96
final double topScale = _getScale (topRoute, tester);
97
97
final double topOpacity = _getOpacity (topRoute, tester);
98
- expect (topScale, greaterThan (0.95 ));
98
+ expect (topScale, greaterThan (0.92 ));
99
99
expect (topScale, lessThan (1.0 ));
100
100
expect (topOpacity, greaterThan (0.0 ));
101
101
expect (topOpacity, lessThan (1.0 ));
@@ -144,7 +144,7 @@ void main() {
144
144
expect (_getOpacity (topRoute, tester), 1.0 );
145
145
// Bottom route is at 95% of full size and not visible yet.
146
146
expect (find.text (bottomRoute), findsOneWidget);
147
- expect (_getScale (bottomRoute, tester), 0.95 );
147
+ expect (_getScale (bottomRoute, tester), 0.92 );
148
148
expect (_getOpacity (bottomRoute, tester), 0.0 );
149
149
150
150
// Jump to half-way through the fade out (total duration is 300ms, 6/12th of
@@ -158,7 +158,7 @@ void main() {
158
158
expect (topOpacity, greaterThan (0.0 ));
159
159
// Top route is still invisible.
160
160
expect (find.text (bottomRoute), findsOneWidget);
161
- expect (_getScale (bottomRoute, tester), 0.95 );
161
+ expect (_getScale (bottomRoute, tester), 0.92 );
162
162
expect (_getOpacity (bottomRoute, tester), 0.0 );
163
163
164
164
// Let's jump to the end of the fade-out.
@@ -171,7 +171,7 @@ void main() {
171
171
expect (find.text (bottomRoute), findsOneWidget);
172
172
expect (
173
173
_getScale (bottomRoute, tester),
174
- moreOrLessEquals (0.95 , epsilon: 0.005 ),
174
+ moreOrLessEquals (0.92 , epsilon: 0.005 ),
175
175
);
176
176
expect (
177
177
_getOpacity (bottomRoute, tester),
@@ -236,7 +236,7 @@ void main() {
236
236
expect (find.text (topRoute), findsOneWidget);
237
237
final double topScale = _getScale (topRoute, tester);
238
238
final double topOpacity = _getOpacity (topRoute, tester);
239
- expect (topScale, greaterThan (0.95 ));
239
+ expect (topScale, greaterThan (0.92 ));
240
240
expect (topScale, lessThan (1.0 ));
241
241
expect (topOpacity, greaterThan (0.0 ));
242
242
expect (topOpacity, lessThan (1.0 ));
@@ -269,7 +269,7 @@ void main() {
269
269
expect (_getScale (bottomRoute, tester), 1.0 );
270
270
expect (_getOpacity (bottomRoute, tester), 1.0 );
271
271
expect (find.text (topRoute), findsOneWidget);
272
- expect (_getScale (topRoute, tester), 0.95 );
272
+ expect (_getScale (topRoute, tester), 0.92 );
273
273
expect (_getOpacity (topRoute, tester), 0.0 );
274
274
275
275
await tester.pump (const Duration (milliseconds: 1 ));
0 commit comments