Skip to content

Commit e5f2d25

Browse files
committed
ran dart format on drawer_test file to fix linux analyzer issues
1 parent b8b3fc6 commit e5f2d25

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

packages/flutter/test/material/drawer_test.dart

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -764,26 +764,19 @@ void main() {
764764
});
765765

766766
testWidgets('Drawer is dismissible by default', (WidgetTester tester) async {
767-
768767
await tester.pumpWidget(
769768
MaterialApp(
770769
theme: ThemeData(useMaterial3: false),
771770
home: Scaffold(
772771
appBar: AppBar(
773772
title: Semantics(headingLevel: 1, child: const Text('Drawer Dismissible')),
774773
),
775-
endDrawer: const Drawer(
776-
backgroundColor: Colors.white,
777-
width: 300,
778-
child: Text('Drawer'),
779-
),
774+
endDrawer: const Drawer(backgroundColor: Colors.white, width: 300, child: Text('Drawer')),
780775
body: Container(
781776
color: Colors.white,
782777
width: 600,
783778
height: 600,
784-
child: const Center(
785-
child: Text('Drawer Dismissible'),
786-
),
779+
child: const Center(child: Text('Drawer Dismissible')),
787780
),
788781
),
789782
),
@@ -838,7 +831,6 @@ void main() {
838831
});
839832

840833
testWidgets('Drawer can be configured as not dismissible', (WidgetTester tester) async {
841-
842834
await tester.pumpWidget(
843835
MaterialApp(
844836
theme: ThemeData(useMaterial3: false),
@@ -847,18 +839,12 @@ void main() {
847839
appBar: AppBar(
848840
title: Semantics(headingLevel: 1, child: const Text('Drawer Dismissible')),
849841
),
850-
endDrawer: const Drawer(
851-
backgroundColor: Colors.white,
852-
width: 300,
853-
child: Text('Drawer'),
854-
),
842+
endDrawer: const Drawer(backgroundColor: Colors.white, width: 300, child: Text('Drawer')),
855843
body: Container(
856844
color: Colors.white,
857845
width: 600,
858846
height: 600,
859-
child: const Center(
860-
child: Text('Drawer Dismissible'),
861-
),
847+
child: const Center(child: Text('Drawer Dismissible')),
862848
),
863849
),
864850
),

0 commit comments

Comments
 (0)