kevintonb.

← All contributions

ffkev

snap_with_embedded_scroll_example

A vertical PageView with a ListView embedded in one page, where swipe navigation only fires at the list bounds.

A Flutter UI pattern that uses a vertically scrollable PageView with an embedded ListView on the second page.

Features

  • Page 1: Static intro
  • Page 2: Scrollable ListView
  • Page 3: Static CTA
  • Swipe up/down navigation only allowed at list bounds
  • Remembers scroll position when returning from Page 3

Use Case

Ideal for promotional or onboarding screens with smooth transitions, similar to landing experiences in apps like CRED.

This page mirrors the repository's own README, with GitHub's boilerplate and its contributor-facing sections removed. Read it at the source ↗