debugDescribeTransform function

List<String> debugDescribeTransform (Matrix4 transform)

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

If the argument is null, returns a list with the single string "null".

Implementation

List<String> debugDescribeTransform(Matrix4 transform) {
  if (transform == null)
    return const <String>['null'];
  final List<String> matrix = transform.toString().split('\n').toList();
  matrix.removeLast();
  return matrix;
}