Skip to content
Articles
Article

sheet_route: Flutter bottom sheets as real routes, with snap points and go_router pages

by Abdeldjalil Chougui dev.to

5 min read

A modal bottom sheet looks like a simple thing until you put a list inside it. The user drags down on the list: should the list scroll, or should the sheet move? If the list is at its top, the sheet should follow the finger and the list should stay still. If the user changes direction, the sheet should come back up before the list starts scrolling. Getting this handoff wrong gives you content tha…

Forum

Questions about this, or something to add?

Discuss on the forum

Topics go_router

Report this · Wrote this? Claim it

FlutterX is supported by