scaleDown static method
- AnimationController controller, {
- double from = 1.0,
- double to = 0.95,
Scale down animation
Implementation
static Animation<double> scaleDown(
AnimationController controller, {
double from = 1.0,
double to = 0.95,
}) {
return Tween<double>(begin: from, end: to).animate(
CurvedAnimation(parent: controller, curve: snappy),
);
}