utils/transform_entry library

Functions

composeMatrix({double scale = 1, double rotation = 0, double translateX = 0, double translateY = 0, double anchorX = 0, double anchorY = 0}) Matrix4
Functional equivalent of RSTransform in Matrix4 world, check RSTransform.fromComponents for more info about the parameters.
composeMatrixFromOffsets({double scale = 1, double rotation = 0, Offset translate = Offset.zero, Offset anchor = Offset.zero}) Matrix4
Helper function that uses Offset as translate and anchor. See composeMatrix for more info.