getEffectiveAnimationEffect method
Gets the effective animation effect for rendering.
Returns the instance-specific animationEffect if set, otherwise falls
back to the provided themeAnimationEffect from the theme.
Parameters:
themeAnimationEffect: The default animation effect from the theme
Returns: The animation effect to use for rendering this connection, or null if none
Implementation
ConnectionEffect? getEffectiveAnimationEffect(
ConnectionEffect? themeAnimationEffect,
) {
return animationEffect ?? themeAnimationEffect;
}