subTransform static method

Matrix4 subTransform(
  1. Animation mainScreenAnimation
)

Implementation

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