Hey Stackoverflow Community,
probably someone already answered this question, but i can't find a solution for my Problem so i decided to ask my question here hoping that someone can help me further.
As you can see in the image, i used a NestedScrollView. This Scrollview should have a SliverAppBar in the headerSliverBuilder and an Stack in the body of this view. Inside the body there should be a Listview.builder.
Inside this Listview are 5 Container. If i click on one of this container I want that the container scrolls in the middle of the device. The Probelm is that the offset just goes from 0 to 104 (this is the height of the Tabbar or something like this). If i print the position of the scrollController it shows the following: [_NestedScrollPosition#3bf02(outer, offset: 104.0, range: 0.0..104.0, viewport: 690.9)]
How can i tell my Scrollcontroller, that he should scroll to a position which is bigger than 104? Or how can i use the full viewport?
Can someone help me?
Thank you in advance =)