Skip to content

Commit 451626f

Browse files
committed
Combined animation made working now
1 parent 995ddb8 commit 451626f

File tree

2 files changed

+219
-222
lines changed

2 files changed

+219
-222
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import 'dart:math';
2+
import 'package:flutter/animation.dart';
3+
4+
class SuperDuperEaseInAndThenQuickOut extends Curve {
5+
final double exponent;
6+
7+
const SuperDuperEaseInAndThenQuickOut({this.exponent = 5});
8+
9+
@override
10+
double transform(double t) {
11+
return pow(t, exponent).toDouble();
12+
}
13+
}

0 commit comments

Comments
 (0)