@@ -171,6 +171,7 @@ void main() {
171
171
boldText: true ,
172
172
highContrast: true ,
173
173
platformBrightness: Brightness .dark,
174
+ navigationMode: NavigationMode .directional,
174
175
gestureSettings: gestureSettings,
175
176
displayFeatures: customDisplayFeatures,
176
177
);
@@ -188,6 +189,7 @@ void main() {
188
189
expect (copied.boldText, true );
189
190
expect (copied.highContrast, true );
190
191
expect (copied.platformBrightness, Brightness .dark);
192
+ expect (copied.navigationMode, NavigationMode .directional);
191
193
expect (copied.gestureSettings, gestureSettings);
192
194
expect (copied.displayFeatures, customDisplayFeatures);
193
195
});
@@ -223,6 +225,7 @@ void main() {
223
225
disableAnimations: true ,
224
226
boldText: true ,
225
227
highContrast: true ,
228
+ navigationMode: NavigationMode .directional,
226
229
displayFeatures: displayFeatures,
227
230
),
228
231
child: Builder (
@@ -257,6 +260,7 @@ void main() {
257
260
expect (unpadded.disableAnimations, true );
258
261
expect (unpadded.boldText, true );
259
262
expect (unpadded.highContrast, true );
263
+ expect (unpadded.navigationMode, NavigationMode .directional);
260
264
expect (unpadded.displayFeatures, displayFeatures);
261
265
});
262
266
@@ -291,6 +295,7 @@ void main() {
291
295
disableAnimations: true ,
292
296
boldText: true ,
293
297
highContrast: true ,
298
+ navigationMode: NavigationMode .directional,
294
299
displayFeatures: displayFeatures,
295
300
),
296
301
child: Builder (
@@ -322,6 +327,7 @@ void main() {
322
327
expect (unpadded.disableAnimations, true );
323
328
expect (unpadded.boldText, true );
324
329
expect (unpadded.highContrast, true );
330
+ expect (unpadded.navigationMode, NavigationMode .directional);
325
331
expect (unpadded.displayFeatures, displayFeatures);
326
332
});
327
333
@@ -356,6 +362,7 @@ void main() {
356
362
disableAnimations: true ,
357
363
boldText: true ,
358
364
highContrast: true ,
365
+ navigationMode: NavigationMode .directional,
359
366
displayFeatures: displayFeatures,
360
367
),
361
368
child: Builder (
@@ -390,6 +397,7 @@ void main() {
390
397
expect (unpadded.disableAnimations, true );
391
398
expect (unpadded.boldText, true );
392
399
expect (unpadded.highContrast, true );
400
+ expect (unpadded.navigationMode, NavigationMode .directional);
393
401
expect (unpadded.displayFeatures, displayFeatures);
394
402
});
395
403
@@ -424,6 +432,7 @@ void main() {
424
432
disableAnimations: true ,
425
433
boldText: true ,
426
434
highContrast: true ,
435
+ navigationMode: NavigationMode .directional,
427
436
displayFeatures: displayFeatures,
428
437
),
429
438
child: Builder (
@@ -455,6 +464,7 @@ void main() {
455
464
expect (unpadded.disableAnimations, true );
456
465
expect (unpadded.boldText, true );
457
466
expect (unpadded.highContrast, true );
467
+ expect (unpadded.navigationMode, NavigationMode .directional);
458
468
expect (unpadded.displayFeatures, displayFeatures);
459
469
});
460
470
@@ -489,6 +499,7 @@ void main() {
489
499
disableAnimations: true ,
490
500
boldText: true ,
491
501
highContrast: true ,
502
+ navigationMode: NavigationMode .directional,
492
503
displayFeatures: displayFeatures,
493
504
),
494
505
child: Builder (
@@ -523,6 +534,7 @@ void main() {
523
534
expect (unpadded.disableAnimations, true );
524
535
expect (unpadded.boldText, true );
525
536
expect (unpadded.highContrast, true );
537
+ expect (unpadded.navigationMode, NavigationMode .directional);
526
538
expect (unpadded.displayFeatures, displayFeatures);
527
539
});
528
540
@@ -557,6 +569,7 @@ void main() {
557
569
disableAnimations: true ,
558
570
boldText: true ,
559
571
highContrast: true ,
572
+ navigationMode: NavigationMode .directional,
560
573
displayFeatures: displayFeatures,
561
574
),
562
575
child: Builder (
@@ -588,6 +601,7 @@ void main() {
588
601
expect (unpadded.disableAnimations, true );
589
602
expect (unpadded.boldText, true );
590
603
expect (unpadded.highContrast, true );
604
+ expect (unpadded.navigationMode, NavigationMode .directional);
591
605
expect (unpadded.displayFeatures, displayFeatures);
592
606
});
593
607
@@ -900,7 +914,7 @@ void main() {
900
914
);
901
915
expect (
902
916
subScreenMediaQuery.viewPadding,
903
- const EdgeInsets .only (top: 6.0 , left: 4.0 , right: 8.0 , bottom: 12.0 ),
917
+ const EdgeInsets .only (top: 6.0 , left: 4.0 , right: 8.0 , bottom: 12.0 ),
904
918
);
905
919
expect (
906
920
subScreenMediaQuery.viewInsets,
0 commit comments