setTranslateXFromScrollX method

void setTranslateXFromScrollX(
  1. double scrollX
)

scrollX convert to TranslateX

Implementation

void setTranslateXFromScrollX(double scrollX) =>
    mTranslateX = scrollX + getMinTranslateX();