Skip to content

Commit bac95d9

Browse files
committed
🎨 code format
1 parent 9211215 commit bac95d9

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

example/lib/main.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,18 +212,18 @@ class _StoryboardState extends State<Storyboard> {
212212
),
213213
const VerticalDivider(width: 2),
214214
Expanded(
215-
flex: 3,
216-
child: ContentView(
217-
child: AnimatedSwitcher(
218-
duration: const Duration(milliseconds: 300),
215+
flex: 3,
216+
child: ContentView(
217+
child: AnimatedSwitcher(
218+
duration: const Duration(milliseconds: 300),
219219
child: selectedAnimation != null
220220
? animationStories[selectedAnimation!].child
221221
: selectedTransition != null
222222
? transitionStories[selectedTransition!].child
223223
: const Center(
224-
child: Text('Select a story to view.'),
225-
),
226-
),
224+
child: Text('Select a story to view.'),
225+
),
226+
),
227227
),
228228
),
229229
],

example/lib/stories/scroll_phase_transition.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ class _ScrollPhaseTransitionState extends State<ScrollPhaseTransition> {
3939
),
4040
),
4141
).scrollTransition(
42-
(context, widget, event) =>
42+
(context, widget, event) =>
4343
widget.scale(event.phase.isIdentity ? 1 : 0.7).translateX(
44-
switch (event.phase) {
45-
ScrollPhase.identity => 0,
46-
ScrollPhase.topLeading => 200,
47-
ScrollPhase.bottomTrailing => -200,
48-
},
49-
),
44+
switch (event.phase) {
45+
ScrollPhase.identity => 0,
46+
ScrollPhase.topLeading => 200,
47+
ScrollPhase.bottomTrailing => -200,
48+
},
49+
),
5050
);
5151
},
5252
);

example/lib/story.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ class Story {
88
required this.title,
99
required this.child,
1010
});
11-
1211
}

lib/src/effects/color_filter_effect.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class ColorFilterEffect extends Effect {
3838
this.color,
3939
required this.mode,
4040
this.matrix,
41-
}) : assert(color != null || matrix != null,
41+
}) : assert(
42+
color != null || matrix != null,
4243
'Either color or matrix4 must be provided.',
4344
);
4445

0 commit comments

Comments
 (0)