@@ -575,10 +575,10 @@ void main() {
575575 expect (tester.renderObject <RenderBox >(find.byKey (testKey)).localToGlobal (Offset .zero), const Offset (0.0 , 0.0 ));
576576 });
577577
578- testWidgets ('body size with extendedBody ' , (WidgetTester tester) async {
578+ testWidgets ('body size with extendBody ' , (WidgetTester tester) async {
579579 Key bodyKey;
580580
581- Widget buildFrame ({bool extendedBody , bool resizeToAvoidBottomInset, double viewInsetBottom}){
581+ Widget buildFrame ({bool extendBody , bool resizeToAvoidBottomInset, double viewInsetBottom}){
582582 bodyKey = UniqueKey ();
583583
584584 return Directionality (
@@ -589,7 +589,7 @@ void main() {
589589 ),
590590 child: Scaffold (
591591 resizeToAvoidBottomInset: resizeToAvoidBottomInset,
592- extendedBody : extendedBody ,
592+ extendBody : extendBody ,
593593 body: Container (
594594 key: bodyKey,
595595 ),
@@ -601,28 +601,28 @@ void main() {
601601 );
602602 }
603603
604- await tester.pumpWidget (buildFrame (extendedBody : true , resizeToAvoidBottomInset: true , viewInsetBottom: 0.0 ));
604+ await tester.pumpWidget (buildFrame (extendBody : true , resizeToAvoidBottomInset: true , viewInsetBottom: 0.0 ));
605605 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 600.0 ));
606606
607- await tester.pumpWidget (buildFrame (extendedBody : false , resizeToAvoidBottomInset: true , viewInsetBottom: 0.0 ));
607+ await tester.pumpWidget (buildFrame (extendBody : false , resizeToAvoidBottomInset: true , viewInsetBottom: 0.0 ));
608608 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 552.0 ));
609609
610- await tester.pumpWidget (buildFrame (extendedBody : true , resizeToAvoidBottomInset: false , viewInsetBottom: 0.0 ));
610+ await tester.pumpWidget (buildFrame (extendBody : true , resizeToAvoidBottomInset: false , viewInsetBottom: 0.0 ));
611611 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 600.0 ));
612612
613- await tester.pumpWidget (buildFrame (extendedBody : false , resizeToAvoidBottomInset: false , viewInsetBottom: 0.0 ));
613+ await tester.pumpWidget (buildFrame (extendBody : false , resizeToAvoidBottomInset: false , viewInsetBottom: 0.0 ));
614614 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 552.0 ));
615615
616- await tester.pumpWidget (buildFrame (extendedBody : true , resizeToAvoidBottomInset: true , viewInsetBottom: 100.0 ));
616+ await tester.pumpWidget (buildFrame (extendBody : true , resizeToAvoidBottomInset: true , viewInsetBottom: 100.0 ));
617617 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 500.0 ));
618618
619- await tester.pumpWidget (buildFrame (extendedBody : false , resizeToAvoidBottomInset: true , viewInsetBottom: 100.0 ));
619+ await tester.pumpWidget (buildFrame (extendBody : false , resizeToAvoidBottomInset: true , viewInsetBottom: 100.0 ));
620620 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 500.0 ));
621621
622- await tester.pumpWidget (buildFrame (extendedBody : true , resizeToAvoidBottomInset: false , viewInsetBottom: 100.0 ));
622+ await tester.pumpWidget (buildFrame (extendBody : true , resizeToAvoidBottomInset: false , viewInsetBottom: 100.0 ));
623623 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 600.0 ));
624624
625- await tester.pumpWidget (buildFrame (extendedBody : false , resizeToAvoidBottomInset: false , viewInsetBottom: 100.0 ));
625+ await tester.pumpWidget (buildFrame (extendBody : false , resizeToAvoidBottomInset: false , viewInsetBottom: 100.0 ));
626626 expect (tester.getSize (find.byKey (bodyKey)), const Size (800.0 , 552.0 ));
627627
628628 });
0 commit comments