moveController method

void moveController(
  1. AnimationController controller,
  2. String fromLabel,
  3. String toLabel
)

移动控制器到另一个分组

Implementation

void moveController(AnimationController controller, String fromLabel, String toLabel) {
  removeController(fromLabel, controller);
  addController(toLabel, controller);
}