Mick Gow
 · UX Designer armed with a swiss army knife of skills

Get stack count on swipeable stack

Widgets & Design

Anyone know if there is a way (or workaround) to be able to detect whether a card is on the top of the stack or at position 2 etc.?

You can access “index in list” but this never changes and it the result count not the position count. I basically want to be able to fade out (alpha) items behind the front stack.

Also want to apply some elements to only be visible on the top item.

Seems like a simple thing but can’t find a way to achieve it.

What have you tried so far?

Looked through docs and tried using indexInList.

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