createController method
Implementation
FAnimationController createController({
required double duration,
void Function()? onComplete,
void Function(double value, double elapsed)? onFrame,
}) {
final controller = FAnimationController(
duration: duration,
onComplete: onComplete,
onFrame: onFrame,
);
_controllers.add(controller);
return controller;
}