scaleXY method
T
scaleXY({})
Adds a ScaleEffect that scales the target uniformly between
the specified begin
and end
values (via Transform.scale).
Implementation
T scaleXY({
Duration? delay,
Duration? duration,
Curve? curve,
double? begin,
double? end,
Alignment? alignment,
bool? transformHitTests,
}) {
begin ??=
(end == null ? ScaleEffect.defaultScale : ScaleEffect.neutralScale);
end ??= ScaleEffect.neutralScale;
return addEffect(ScaleEffect(
delay: delay,
duration: duration,
curve: curve,
begin: Offset(begin, begin),
end: Offset(end, end),
alignment: alignment,
transformHitTests: transformHitTests,
));
}