getCurrentTransform method
Return the transform that was used in the last composition phase, if any.
If the FollowerLayer has not yet been created, was never composited, or was unable to determine the transform (see FollowerLayer.getLastTransform), this returns the identity matrix (see new Matrix4.identity.
Implementation
Matrix4 getCurrentTransform() {
return _layer?.getLastTransform() ?? Matrix4.identity();
}