Animation constructor
const
Animation(
- AnimationType type, {
- required double duration,
Implementation
const Animation(
this.type, {
required this.duration,
});