How to sync scrollController ScrollableSheet & ListView.separated in ModalSheetRoute? #223
Unanswered
Tommy-Wang0602
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @Tommy-Wang0602, child: Column(
children: [
...
Expanded(
child: ListView.separated( The ListView must fill the entire body of the ScrollableSheet. If you want to mix a ListView with non-scrollable widgets, consider using CustomScrollView and SliverToBoxAdapter. Alternatively, if you don't need to synchronize the ListView's scroll position with the sheet's position, you can simply use a DraggableSheet. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ~ @fujidaiti
I use
ModalSheetRoute
to showScrollableSheet
,but foundListView.separated
can not scroll after ScrollableSheet show up.I except I can still scroll
ListView.separated
when ScrollableSheet height get to maxExtent.Beta Was this translation helpful? Give feedback.
All reactions