Fix formatting in BottomAppBar test (#115520)

This PR made a few mistakes on formatting: https://github.com/flutter/flutter/pull/115175
This commit is contained in:
Bernardo Ferrari
2022-11-18 18:15:26 -03:00
committed by GitHub
parent 24865ad83b
commit d2e6dfefa5

View File

@@ -85,7 +85,6 @@ void main() {
); );
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/44572 }, skip: isBrowser); // https://github.com/flutter/flutter/issues/44572
testWidgets('Custom Padding', (WidgetTester tester) async { testWidgets('Custom Padding', (WidgetTester tester) async {
const EdgeInsets customPadding = EdgeInsets.all(10); const EdgeInsets customPadding = EdgeInsets.all(10);
await tester.pumpWidget( await tester.pumpWidget(
@@ -98,9 +97,9 @@ void main() {
alignment: Alignment.bottomCenter, alignment: Alignment.bottomCenter,
child: BottomAppBar( child: BottomAppBar(
padding: customPadding, padding: customPadding,
child:ColoredBox( child: ColoredBox(
color:Colors.green, color: Colors.green,
child:SizedBox(width: 300, height: 60), child: SizedBox(width: 300, height: 60),
), ),
), ),
), ),
@@ -130,9 +129,9 @@ void main() {
alignment: Alignment.bottomCenter, alignment: Alignment.bottomCenter,
child: BottomAppBar( child: BottomAppBar(
padding: customPadding, padding: customPadding,
child:ColoredBox( child: ColoredBox(
color:Colors.green, color: Colors.green,
child:SizedBox(width: 300, height: 60), child: SizedBox(width: 300, height: 60),
), ),
), ),
), ),