File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed
Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff 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 ],
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff line change @@ -8,5 +8,4 @@ class Story {
88 required this .title,
99 required this .child,
1010 });
11-
1211}
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments