cascadeAnimationStyle method
void
cascadeAnimationStyle(
- LayoutStyleInterpolation inheritedInterpolation,
- KeyFrameInterpolator? inheritedInterpolator,
- double inheritedInterpolationTime
inherited
Implementation
void cascadeAnimationStyle(
LayoutStyleInterpolation inheritedInterpolation,
KeyFrameInterpolator? inheritedInterpolator,
double inheritedInterpolationTime) {
if (style?.animationStyle == LayoutAnimationStyle.inherit) {
setInheritedInterpolation(inheritedInterpolation, inheritedInterpolator,
inheritedInterpolationTime);
} else {
clearInheritedInterpolation();
}
forEachChild((child) {
if (child is LayoutComponent) {
child.cascadeAnimationStyle(
interpolation, interpolator, interpolationTime);
}
return false;
});
}