initializeAnimations method
初始化动画控制器
Implementation
void initializeAnimations(LayoutConfig config, TickerProvider vsync) {
_clearAnimations();
for (final position in LayoutPosition.values) {
final componentConfig = config.components[position];
if (componentConfig != null && componentConfig.hasAnimation) {
_createAnimationController(position, componentConfig, vsync);
}
}
}