Skip to content

Commit 14c143d

Browse files
committed
Add Curve Learning
1 parent 8f70fd0 commit 14c143d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ class AnimatorSetState extends State<AnimatorSetActivity> {
7676
SliverList(
7777
delegate: SliverChildBuilderDelegate(
7878
(BuildContext context, int index) {
79-
return box[index];
79+
return curveBox[index];
8080
},
81-
childCount: box.length,
81+
childCount: curveBox.length,
8282
),
8383
),
8484
],
@@ -88,7 +88,7 @@ class AnimatorSetState extends State<AnimatorSetActivity> {
8888
}
8989
}
9090

91-
var box = [
91+
var curveBox = [
9292
CurveBox(curve: Curves.linear, str: "linear"),
9393
CurveBox(curve: Curves.bounceIn, str: "bounceIn"),
9494
CurveBox(curve: Curves.bounceInOut, str: "bounceInOut"),

0 commit comments

Comments
 (0)