Chema Molins
Mar 1, 2018 · 1 min read

Hi Rob,

Glad you liked it.

Since Wm Leler was also asking for the development process, I answered in his response having in mind all your questions.

In Android the original author uses two ViewPagers. The front ViewPager has some padding so you can see three pages on the viewport. Then it has a handle that synchronizes both viewpagers when scrolling.

I took the same approach in Flutter with two PageViews but not taking any code from Android. The front PageView uses a fraction of the viewport (instead of the android padding) and there is also a handle to synchronize both pageviews.

But, just to emphasize, I couldn’t have done it without understanding how header rendering and pageview synchronization were done in the animation Gallery example.

    Chema Molins

    Written by

    Father, cyclist, developer, Flutter enthusiast…

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade