transform static method

Matrix4 transform(
  1. Animation mainScreenAnimation
)

Implementation

static Matrix4 transform(Animation<dynamic> mainScreenAnimation) {
  return Matrix4.translationValues(
      0.0, 20 * (1.0 - mainScreenAnimation.value), 0.0);
}