Questions tagged [flutter-pageview]

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.

277 questions
3
votes
2 answers

Flutter - Trigger PageView change on Provider value change

I have a custom BottomAppBar with PageView for pages. I am trying to change the pages as the user clicks on items in the BottomAppBar. I am using Provider to manage Global State. Clicking on items triggers the value change in the provider but there…
Saad Momin
  • 97
  • 1
  • 6
3
votes
1 answer

How can I have different sized Pages in a PageView?

I have only been programming with Flutter for one and a half months and am still quite inexperienced. But I have a question that I couldn't find an answer to on the Internet. I need an app that mainly consists of a PageView. Unfortunately, with a…
Lars Henning
  • 47
  • 1
  • 7
3
votes
1 answer

Using Form With PageView Overwrites Previous Form Data With Each Page Flutter

I am using a pageview to display a form and get data. But, with every page, the previous data is is overwritten. I'm not sure why. Here is what I'm doing: I want to get these pieces of information from each page: final Map
3
votes
2 answers

Synchronize page change of PageView and Slider in flutter

In my app, I have a PageView and a Slider. When I scroll the PageView, I expect the Slider to change its value, and when I slide the Slider I expect the page of the PageView to change as well. For this, I have a state to be the value of the Slider,…
Kise
  • 2,823
  • 1
  • 24
  • 43
3
votes
0 answers

ListView inside PageView - Retrict horizontal scroll area

I have a ListView inside a PageView, so I have a vertical scroll (ListView) and a horizontal scroll (PageView). My problem is that the horizontal scroll is much more sensitive than the vertical scroll, it becomes difficult to perform the vertical…
3
votes
2 answers

Flutter - How to pass data between pages in PageView Widget?

I have a PageView widget like below: Widget buildPageView() { return PageView( controller: pageController, onPageChanged: (index) { pageChanged(index); }, children: [ …
Himanshu
  • 861
  • 10
  • 25
2
votes
1 answer

remove padding from pageview pages

I have a pageview to which I have set viewportFraction 0.8, but it has too large margins between pageview pages (attached a screenshot) and I would like to make them smaller I also want the first page to have less indentation from the left edge, I…
steind.VY
  • 333
  • 2
  • 11
2
votes
0 answers

How can I give smooth transition to previous and next screen while scrolling in a PageView builder in flutter using viewport and scrollcontroller?

I am using PageView.builder and gradually increasing the viewportFraction after detecting scroll from _scrollController. video demonstrating the same I want the left and right screen elements to fade away in a smoother manner, as we scroll downwards…
2
votes
0 answers

Scaffold body content is not appearing up - Flutter

I'm using an advanced page turn widget to show the flipping the effect between pages and it's working perfectly fine on an emulator but when I run the application on the real device, the body content is not appearing up at all (just showing a grey…
shakky
  • 434
  • 5
  • 20
2
votes
3 answers

Rounded corners Image inside PageView keeping ratio Flutter

I have a PageView with images list inside. I want to keep the image ratio and set a rounded corners to them. Usually I had no problem to clip image inside simple list or single image. But in this case, the ClipRRect is not wrapping the image and…
nicover
  • 2,213
  • 10
  • 24
2
votes
1 answer

Flutter PageView with transparent background

I'm trying to make use of the PageView widget. I placed the PageView in a Column so that It can only take 50% of the screen height. The problem now is that I have an image background of the page underneath the PageView and I need it to have a…
Hamza Sharaf
  • 811
  • 9
  • 25
2
votes
0 answers

Flutter vertical PageView Dynamic height

I'm trying to do onboarding screen that has vertical snapping scroll. The problem is widget's are not equal in height and i want to make it take minimum space as posible. Result i'm trying to get I found this package Expandable_page_view but it does…
2
votes
1 answer

Flutter: How to control a PageView by GetxController?

Subject: PageView and GetX I'm having trouble detaching the controls on a PageView widget from the HomeView module. I have a GlobalController with its respective GlobalBinding that are instantiated when opening the HomeView. I would like to take the…
2
votes
0 answers

Custom Liquid Swipe Animation

I came across a flutter package named liquid_swipe and I want to customize it. Let me explain what I want to acheive. So liquid_swipes works like a pageview where on right swipe the current page index changes to (index+1) and on left swipe the…
2
votes
1 answer

Flutter change Container Width from another Widget

I have a CustomAppBar and a PageViewer. I would like to animate a ProgressBar inside the CustomAppBar, if the user is changing the Page. This is my Top-Level-Page looks like this: class EntryPage extends StatelessWidget { final List
Chris
  • 1,828
  • 6
  • 40
  • 108
1 2
3
18 19