transform method
Implementation
Widget transform({
Key? key,
required Matrix4 transform,
Offset? origin,
AlignmentGeometry? alignment,
bool transformHitTests = true,
bool animate = false,
}) =>
animate
? _StyledAnimatedBuilder(
key: key,
builder: (animation) {
return _AnimatedTransform(
child: this,
transform: transform,
origin: origin,
alignment: alignment,
transformHitTests: transformHitTests,
duration: animation.duration,
curve: animation.curve,
);
},
)
: Transform(
key: key,
transform: transform,
alignment: alignment,
origin: origin,
transformHitTests: transformHitTests,
child: this,
);