Skip to content

Commit aeae40f

Browse files
committed
Format files
1 parent c1ce6ff commit aeae40f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

test/controller_test.dart

+4-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ class CounterController extends Controller {
9696
}
9797

9898
void showSnackBar(context) {
99-
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(content: Text('Hi')));
99+
ScaffoldMessenger.of(context)
100+
.showSnackBar(const SnackBar(content: Text('Hi')));
100101
}
101102

102103
@override
@@ -175,7 +176,8 @@ class CounterState extends ViewState<CounterPage, CounterController> {
175176
ControlledWidgetBuilder<CounterController>(
176177
builder: (ctx, controller) {
177178
return MaterialButton(
178-
key: snackBar, onPressed: () => controller.showSnackBar(context));
179+
key: snackBar,
180+
onPressed: () => controller.showSnackBar(context));
179181
},
180182
),
181183
],
+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
2-
void main() {
3-
4-
}
1+
void main() {}

0 commit comments

Comments
 (0)