apply method
Applies the animated value to child and returns the resulting widget.
This is the rendering entry-point for concrete act subclasses — implement this instead of overriding applyInternal.
Implementation
@override
Widget apply(BuildContext context, Animation<Matrix4> animation, Widget child) {
return AnimatedBuilder(
animation: animation,
child: child,
builder: (context, child) {
return Transform(
transform: animation.value,
alignment: alignment,
origin: origin,
child: child,
);
},
);
}