setAnimation method

void setAnimation(
  1. Animation? animation
)

The main animation that is used by the Route

Implementation

void setAnimation(Animation<dynamic>? animation) {
  _animation = animation;
}