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
1
vote
1 answer
Horizontal page swap with button click and scroll - Flutter
I am trying to swap screens on horizantally by using both buttons and scroll. I am trying to acheive something like this. I hope you get the idea of what I am trying to do.
Below is my code to acheive this
class ChefProfile extends StatefulWidget…

Faizan Kamal
- 1,732
- 3
- 27
- 56
1
vote
1 answer
Building a constructor to call items from the list when scrolling to other page on page view, Flutter
I'm a beginner and trying to build a constructor that sets list items and getter calls them to view in page view when scrolling to next page. I have tried too many things but failed. Even though avoiding direct help to improve myself, I'm stuck and…

omer ozmen
- 11
- 1
1
vote
0 answers
Poping back to a page that containes a CarouselSlider in flutter
I builed a flutter app where there is two pages,one have a CarouselSlider of containers in a RaisedButton widget ,and when i click on an image it pushes another page whith this image,when i try to go back to the previous page i get this error:Error…

amir-almamma
- 11
- 1
1
vote
1 answer
How to skip a page while swiping while using flutter PageView
I have a weekview with daily exercises logged like shown in the attachment. The days in red are disabled. When I swipe the page, it needs to skip the disabled tab and go directly to the next active tab. For e.g. if I'm on Sunday and swipe, it should…

suma
- 101
- 1
- 4
- 7
1
vote
2 answers
offscreenpagelimit in flutter
i want to load previous and next page as by default when PageView has been initialized. But in default implementation the next page is loading when the page is scrolled the next page. is there any way to do that. in android we can simply achieve it…

aligur
- 3,387
- 3
- 34
- 51
1
vote
0 answers
RangeError and rerundering the future builder in flutter
I have two problem,I'm using page view builder to build my days,
child: PageView.builder(
physics: new AlwaysScrollableScrollPhysics(),
itemCount: allDays.length,
controller: _pageController,
…

Husamuldeen
- 439
- 1
- 8
- 21
1
vote
1 answer
PageView and StreamBuilder rebuilding multiple time when scrolling
I have a stream builder listening to Firestore, and it works when it comes to fetching data. The issue is that the streambuilder keeps rebuilding when I switch pages. The main page first builds twice, when I scroll to another page it builds twice…

ashesofphoenix
- 129
- 8
1
vote
2 answers
Emulating horizontal list of images as seen in google play app
I would like to create a widget that behaves same way as the horizontal scrolling lists (for example for recommended apps) in google play app.
An example of what I mean:
I have tried to use the Page Viewer widget but it does not quite do same…

Notbad
- 5,936
- 12
- 54
- 100
1
vote
0 answers
How to persist page state for widget flutter_pagewise inside PageView
I understand how to apply keepAlive in PageView. But when I come to flutter_pagewise ( https://pub.dev/packages/flutter_pagewise ), I was confused about how to implement to keep the state for PagewiseListView since when changing the page in PageView…

George Zhang
- 371
- 1
- 2
- 9
0
votes
1 answer
PageView with different ScrollPhysics for first and last pages
How can I customize the physics property of PageView to have for example a ClampingScrollPhysics for the first page (edge overflow) and a BouncingScrollPhysics for the last page?
(My use case is to load pages on demand when scrolling the last page.)

Patrick
- 3,578
- 5
- 31
- 53
0
votes
0 answers
How can I merge the swap and expanding dots page indicators?
I am trying to have an indicator effect which merge two different effects with each other , is it possible for the dots to have both the swap effect and for the active dot to have different width to the rest of the dots so it seems expanded to them…

Malek26
- 1
0
votes
0 answers
How to push a new screen after user swipes RtoL in PageView when it is on last page
I have created an onboarding screen in flutter with 3 pages. What I'm trying to implement is that when user is on the last page (3rd page) and swipes right to left I want to push a screen (let's say Login Screen). How can I achieve such an effect? I…

Twisha Solgama
- 130
- 11
0
votes
1 answer
Flutter PageView nor working, even on the oficial doc and example
Flutter PageView is not working properly for changing pages horinzontaly.
Even not on the oficial doc and example:
https://api.flutter.dev/flutter/widgets/PageView-class.html
Its not scrolling.
Using Flutter 3.10.6 • 2023-07-12 17:57 • f468f3366c •…

Bandleader App
- 1
- 1
0
votes
0 answers
Dynamic list of Pageview Dots in flutter
I am showing a list of classes using a GridView
return Scaffold(
appBar: AppBar(
title: Text(
allClassHours.isEmpty ? 'No classes to show' :
'${DateFormat('EEEE').format(allClassHours[hourIndex].startTime)}…

Raj More
- 47,048
- 33
- 131
- 198
0
votes
1 answer
PageView itembuilder reset after some page
Steps to reproduce
Created enum for pageview pages.
Created pageview controller and store in provider for accessing in to pageview's pages.
When I trying to go next page in page 15 , pageview builder index reproduce value to 16 and after 0.
You can…

samedhrmn
- 85
- 1
- 5