HeroAnimation constructor

const HeroAnimation(
  1. Animation<double>? animation,
  2. ExpandingCardState state
)

Implementation

const HeroAnimation(this.animation, this.state);