removeController method

bool removeController(
  1. RiveAnimationController controller
)

Implementation

bool removeController(RiveAnimationController controller) {
  assert(controller != null);
  if (_animationControllers.remove(controller)) {
    controller.isActiveChanged.removeListener(_onControllerPlayingChanged);
    controller.dispose();
    return true;
  }
  return false;
}