List<String> debugDescribeTransform(Matrix4 transform)

Returns a list of strings representing the given transform in a format useful for RenderObject.debugFillDescription.

Source

List<String> debugDescribeTransform(Matrix4 transform) {
  List<String> matrix = transform.toString().split('\n').map((String s) => '  $s').toList();
  matrix.removeLast();
  return matrix;
}