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