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 Callback in Pageview causing Exception
I'm trying to create a pageview that I can load a widget into that is defined in another file. This works fine, except when I try to add a callback, I get the following error:
FlutterError (setState() or markNeedsBuild() called during build.
This…

admiral142
- 105
- 1
- 2
- 10
0
votes
3 answers
How to set fixed height of children in Flutter PageView?
By default the children of PageView will take 100% height of PageView. What i want is to set fixed height for each child (let's say 100px). I know that you can set viewportFraction but that doesn't help because the height of ListView is dynamic (2/3…

RandomSlav
- 507
- 3
- 13
0
votes
1 answer
Change PageView form SideMenu flutter
How can i change Pageview's pages directly from Sidebar Menu according to each Button.
Below the screenshot of the web application.
enter image description here

Henriques Arrone
- 1
- 1
0
votes
3 answers
Flutter PageView Scroll but only for widgets and not entire pages
Today I have a question, not providing any code.
I would like to create a tiktok like experience for scrolling through my appfeed in flutter. However I don't want to scroll an entire page when I swipe, only to the next widget in the…

Tobias Welti
- 1
- 1
0
votes
1 answer
Flutter PageView is not jumping to other page but scrolling works
I am simply trying to navigate to another page inside my pageView on a callback. This is my setup:
final PageController _pageController = PageController(
initialPage: 0,
keepPage: true,
);
@override
Widget build(BuildContext…

Chris
- 1,828
- 6
- 40
- 108
0
votes
2 answers
Flutter Pageview swipe change background image with animation
I working on a project where I have a Stack widget with a Container which has an image(this is the background of the app):
//Background image:
Container(
decoration: BoxDecoration(
image: DecorationImage(
…

Gergő Csiszár
- 107
- 1
- 6
0
votes
1 answer
Using Google Maps with PageView
I am attempting to have a map render out as the first page/slide within a PageView which works perfectly fine, and I can even scroll/slide to the second page but when I attempt to return to the map I get an error stating the Future has already…

Boss Nass
- 3,384
- 9
- 48
- 90
0
votes
1 answer
Flutter parameters transfering across pages: What about the parameter "key"?
I have made two pages, PersonalPage and InformationPage. I want to transfer some parameters from PersonalPage to InformationPage. Here are my codes.
PersonalPage:
Navigator.push(
context,
MaterialPageRoute(
builder:…

yamato
- 85
- 1
- 13
0
votes
0 answers
Flutter PageView and ListWheelScrollView asset image error
i use images in ListWheelScrollView in PageView. i have 3 pages and 60 same images in all pages in listwheelscrollview. when i try to change to second page (red page), I see that the images are not loading. i tried to precacheImage for all images…

ismailoglu
- 71
- 1
- 8
0
votes
2 answers
Flutter PageView children scrolled together when i am using PageView -> ListView | SingleChildScrollVIew
Flutter PageView children that is ListView scrolled when the one child scrolled. They are sharing one scrolling behavior.
How can I fix this issue? Help me?

Barsbaatar Tig
- 1
- 1
0
votes
1 answer
PageView not showing inside SingleChildScrollView
I created ViewPager using PageView but when i put it inside SingleChildScrollView it stops showing.However when i put it outside SingleChildScrollView it shows fine.How to show PageView inside SingleChildScrollView?
Expanded(
flex: 8,
…

Android Developer
- 9,157
- 18
- 82
- 139
0
votes
1 answer
Cannot put PageView into Column in Flutter
I want to put a small PageView into a Column, but I got error RenderBox was not laid out: RenderRepaintBoundary#db5f8 relayoutBoundary=up14 NEEDS-PAINT. The PageView will hold inconsistent data so I cannot set the height for it. Can anyone help me?…

MinhHy
- 51
- 4
0
votes
2 answers
TextButton widget requires double tab to go on next page
I'm using a PageView widget and there are lots of children's inside the pageview widget and for navigating between the pages, I'm using a PageController (jump to page) but for some unknown reason, the TextButton requires double to go on the next…

shakky
- 434
- 5
- 20
0
votes
1 answer
How to maintain separate form keys in PageView multiple pages?
PageView.builder creates indexed pages when passed with length parameter.
I have multiple pages in Pageview. Each page has its own form. However the form on each page has same Widget tree.
I have used form key using Form widget. Now when I edits a…

Rohit Bhargava
- 69
- 1
- 7
0
votes
1 answer
Swipe in PageView when a widget is in front of it in flutter
i have a Stack and a PageView inside it. there is some other widgets in front of my PageView in Stack. something like this:
Stack(
PageView(...),
Container(...),
Text(...),
....
),
now if i try to swipe PageView if my finger touches other…

Omid Fast
- 183
- 4
- 11