blurX method
Adds a blurX extension to AnimateManager (Animate and AnimateList).
This blurs only on the x-axis according to the double
begin/end values.
Implementation
T blurX({
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
}) {
end ??= (begin == null ? BlurEffect.defaultBlur : BlurEffect.neutralBlur);
begin ??= BlurEffect.neutralBlur;
return addEffect(BlurEffect(
delay: delay,
duration: duration,
curve: curve,
begin: BlurEffect.neutralValue.copyWith(dx: begin),
end: BlurEffect.neutralValue.copyWith(dx: end),
));
}