custom method
T
custom({})
Adds a CustomEffect that animates effects via a builder
method that
accepts a BuildContext, target child, and calculated animation value
between begin
and end
.
Implementation
T custom({
required CustomEffectBuilder builder,
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
}) =>
addEffect(CustomEffect(
builder: builder,
delay: delay,
duration: duration,
curve: curve,
begin: begin,
end: end,
));