Anim constructor

const Anim(
  1. Animation<double> primary, [
  2. Animation<double>? secondary
])

Implementation

const Anim(
  this.primary, [
  Animation<double>? secondary,
]) : secondary = secondary ?? primary;