Mosses
 · [moe-zus]

How to show PageView previews on both sides?

Widgets & Design

I'm using PageView to show a list of documents that are populated on the map. It seems, out of the box, FF default only shows one PageView at a time. According to Flutter code, there's the option to show preview of the next PageView by viewportFranction. See code snippet below. Another option that I came across was PageSnapping.

Two questions:

  • Is it possible to show previews of the previous or next card in FF? If so, how?

  • If not, how can I overwrite the FF PageView to embed viewportFraction control or utilize PageSnapping?

PageView(
  children: items,
  controller: PageController(
      viewportFraction: 0.8,
      initialPage: 0,
  )
)
What have you tried so far?

Dug into FF PageView documentation for current feature options, but had no luck.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
7 replies