For questions relating to the PageView class in Flutter. When using this tag also include the more generic [flutter] tag. If your question applies to Flutter more generally, use the [flutter] tag only.
Questions tagged [flutter-pageview]
277 questions
0
votes
2 answers
FLUTTER: PageView.builder onPage property - can i change so the index is triggered upon a FULL page swipe instead of 0.50
Using PageView.builder in Flutter, I have made a basic quiz with random repopulating questions, and some animation that I want to trigger every time a new page comes into view.
Also, of relevance, the user can only proceed to the next page once they…

Kdon
- 892
- 6
- 19
0
votes
1 answer
Nested PageView causes shadows to clip. How to avoid the shadow from getting clipped?
I have a simple nested PageView :
class PackViewVertical extends Stateless {
@override
Widget build(BuildContext context) {
return Scaffold(
body: PageView.builder(
scrollDirection: Axis.vertical,
controller:…

Zahra
- 336
- 3
- 10
0
votes
1 answer
Flutter: How to get PageView to stop at a certain point (use as a drawer)?
I'm using a PageView for my Flutter App, but I just realized that I don't know how to stop scrolling at a certain point like a drawer, but flutter drawer simply covers the page underneath, so here is the ideal scenario I want:
And you cannot scroll…

Ryan Wang
- 418
- 7
- 23
0
votes
1 answer
Make a ListView scroll horizontal in a PageView
I'm trying to create a ListView of images that stays in a PageView so I can swipe left or right to move to other images.
But I currently end up with an error that it only displays as a column and swipe vertically not horizontally as I wanted.
Anyone…

ninoorta
- 662
- 1
- 5
- 13
0
votes
0 answers
Null check operator used on a null value in a PageView on a PageController in Flutter
So I have a PageController appended to a PageView, I set the value of the PageController while declaring it globally but I came across an error, Null check operator used on a null value, so I called the initState method and initialised the value of…

Shlok Jain
- 343
- 8
- 17
0
votes
1 answer
Pageview.builder overlapping effect
I'm coding a quiz app. I want to achieve this. Everything is okay but the overlapping effect doesnt. I'm using pageview.builder to navigate between pages. How can i achieve this ?

Kerim Mandacı
- 37
- 4
0
votes
0 answers
Flutter PageView pages with different width
I am wondered, is there a way to show PageView with pages of different width?
So what I need: one page is full-screen width size, and the second one is 0.75 of it (so when user scroll to second page 0.25 of the first one is still visible.
Any ideas…

Andriy Antonov
- 1,360
- 2
- 15
- 29
0
votes
1 answer
Flutter: how to disable the scroll to the left in pageview?
and today when I am developing my app, I just find out that I need a feature that can only allow user to scroll to the right page, but not the left page, and the PageController does not provide any functionality that can allow me to implement that,…

Ryan Wang
- 418
- 7
- 23
0
votes
1 answer
BackdropFilter overlay outside Stack on PageView
Seems like BackdropFilter on PageView overlay outside Page when scrolling. I expected that it applies only on parent widget. How to prevent this behaviour?
Code sample:
class PageViewScreen extends StatelessWidget {
@override
Widget…

Илья Имхолинкс
- 153
- 1
- 8
0
votes
0 answers
How to hide a bottom navigation when scrolling down in pageview?
I got stuck when i wanna implement auto hide a bottom navigation when scrolling down and show a bottom navigation when scrolling up. I already search how to implement auto hide, but the main problem came from the pageview, i cant put the page…

Fatoni
- 509
- 1
- 6
- 10
0
votes
1 answer
PageView rebuilding while animateToPage is in progress
I'm creating a social media feed where each post is an image of a different size. The user can swipe right to like, left to dislike, up to skip to the next post, or down to go back. To do that, I'm using a Dismissible widget within a PageView, where…

David Adler
- 7
- 3
0
votes
1 answer
How to do infinite navigation with PageView builder?
I am developing a kind of Twitter with Flutter, and I am encountering a problem with pageView.builder.
I want to create the same profile navigation that Twitter and Instagram are using : I mean I have a NestedScrollView which is my FeedPage and it…
0
votes
1 answer
How to change size of Container/PageView dynamically without Renderflex overflow error
I got a Container with a PageView inside which contains a handfull of Columns inside. Whenever the page is changed, a different height is assigned to the height of the Container. If the current page is 350 in size and the next should be 735, i get a…

DeadRabbit
- 1
- 1
0
votes
3 answers
How to use PageView with Stack?
I'm new to Flutter and I like the PageView widget, but how do I always have an AppBar or other elements on top?
Now PageView is changing the entire page, along with the AppBar, how can you pin it? To make the pages scroll under the AppBar
Scaffold(
…

Alexander Schurf
- 83
- 1
- 10
0
votes
1 answer
I want to add a scroll controller to the pageview so that I can hide the content like appbar that are above it
I want to add a scroll controller to the pageview (which can scroll horizontally as well as vertically) so that I can hide the content like appbar that are above it when I scroll down the contents of the pageview.
I tried adding the…

SagarRawat
- 135
- 2
- 10