operator ~ method
Flip config
Implementation
AnimationConfig operator ~() {
return AnimationConfig(
startAlign: endAlign,
endAlign: startAlign,
startOpacity: endOpacity,
endOpacity: startOpacity,
startTransform: endTransform,
endTransform: startTransform,
startSize: endSize,
endSize: startSize,
duration: duration,
curve: curve?.flipped,
);
}