Questions tagged [customscrollview]
85 questions
0
votes
0 answers
What's the difference between using NestedScrollView and CustomScrollView+SliverListView in flutter?
I see some articles says that , If you use a scrollable content in CustomScrollView will cause scroll problem . But I can choose to use CustomScrollView+SliverList ,so there will be ok.
So I am wondering when should I use NestedScrollView ,because…

ximmyxiao
- 2,622
- 3
- 20
- 35
0
votes
1 answer
Combining Slivers, PageView and ListView in Flutter
UI Example
How would this be possible in Flutter?
I have a PageView widget and a ListView, but stuck on how to also implement Slivers with them. SliverAppBar seems like the right widget to try, but falls short in that it fails to act like a PageView…

ypeeg
- 13
- 4
0
votes
1 answer
CustomScrollView and SliverGrid Repeating
I have a CustomScrollView that receives a future sliver, it works but the sliver keeps on repeating its elements
Here is my code in homepage
late Future
- > europe;
@override
void initState() {
super.initState();
…

Denver0619
- 5
- 3
0
votes
1 answer
Flutter - How scroll to SliverPersistentHeader position?
CustomScrollView(
SliverToBoxAdapter(), // firstBox
SliverPersistentHeader(pinned:true),
SliverToBoxAdapter(), // secondBox
)
I have a button on this page, when I click this button, how let SliverPersistentHeader scroll to top…

zhouxinle
- 429
- 5
- 16
0
votes
0 answers
infinite_scroll_pagination loading all the pages altogether: Flutter
I am making a Flutter Application where I am using Lazy Loading to load the data from server.
Now, the page I have made consists of following widgets in order-
Stack (with a button and a container)
SizedBox (for spacing)
SliverPagedList (to show…

ayush
- 464
- 5
- 17
0
votes
0 answers
How to scroll parent widget from child?
I have some stateless scrollable widget like this
`class ProfileScreen extends StatelesslWidget {
final dataKey = new GlobalKey();
@override
Widget build(BuildContext context) {
BlocProvider.of(context).add(CheckStatus());
…

Nikolay Michurin
- 5
- 2
0
votes
1 answer
Flutter BoxConstraints maxWidth in CustomScrollView not working
I am using a CustomScrollView and tried to limit its children's size by using BoxConstraints but they are simply ignored. My text expands to the width of the screen and I don't understand why.
This is my code:
SliverToBoxAdapter(
child:…

Chris
- 1,828
- 6
- 40
- 108
0
votes
0 answers
Performance Issue in flutter
Is CustomScrollView is better approach than nested listview by applying shrinkwrap true in flutter
I read so many articles and watched many videos
0
votes
0 answers
`CustomScrollView` with `SliverFillRemaining` show jittery effect
I wanted my button to shift below the content when the keyboard opens or there is no space on the screen, and when there is more space it should stick to the bottom of the screen. For that, I use a CustomScrollView but now the jittery effect is…

abhishek sahu
- 1
- 2
0
votes
1 answer
Flutter : dynamic height for scrollable content inside customScrollView (with sticky behaviors)
I would like to achieve this result but I can't get my head around it...
Image exemple
The only way I found to "fixed" my header (top) and button (bottom) was to use respectively SliverPinnedHeader (which requires the user of the CustomScrollView…

MargauxLeroy
- 1
- 2
0
votes
0 answers
Keyboard does not push view up with CustomScrollView center key & anchor
I want to make a Chat app but unfortunately my list not working when using CustomScrollView and set center key with anchor > 1.0. The list not push up when keyboard displays. I think it relate to center & anchor when I set anchor to 1.0 everything…
0
votes
0 answers
how can i make one Slivers AppBar With diffrent behavior and desgin , like WhatsApp desgin?
i started my project to make WhatsApp clone to learn
now i have chalange to my AppBar ( animated , scrollbe , design )
i have used
DefaultTabController
with : Scaffold
with : NestedScrollView
with : SliversAppBar
with : TapBar
and TapBar
and in body…

Nady Nasser
- 1
- 2
0
votes
0 answers
How to use TabBarView in CustomScrollView in Flutter?
I have this code which consists of tabs, and in each tab there's a list of items, I'm using CustomScrollView because I have some other details in header.
My question is: How to save scroll position for every tab? without using NestedScrollView…

Khalid
- 31
- 5
0
votes
1 answer
How to place SliverToBoxAdapter inside of a Column?
I am struggling with placing SliverToBoxAdapter inside of a Column. I need to keep widgets stuck in column, not scrolling them. I do need any CustomScrollView and scrolling property obtained by slivers.
The error which appears is:
A RenderFlex…

RobEleven
- 29
- 3
0
votes
1 answer
How to prevent BouncingScrollPhysics from bouncing when it reach the end of a CustomScrollView?
I want BouncingScrollPhysics at the start and at end of a ScrollView I would like to remove that effect. How can I accomplish that?

Miyad
- 3
- 4