Reputation: 155
I have widget tree which contains top-level CustomScrollView with SliverFillRemaining inside. SliverFillRemaining may contain another CustomScrollView (see picture).
I want to prevent scrolling of nested CustomScrollView until SliverFillRemaining will fill all viewport (because of top-level CustomScrollView). In other words I want expandable TabVeiws with scrollable grid inside.
Upvotes: 1
Views: 6486
Reputation: 155
As Yann39 noted, NestedScrollView widget solves this issue perfectly. Code sample in class documentation illustrates what to do.
Upvotes: 2