I am using ListView.builder
, when we scroll up down,
how to get the currently visible widget in viewport
.
something like Android recyclerview
findFirstCompletelyVisibleItemPosition
Asked
Active
Viewed 4,527 times
5

Rahul Devanavar
- 3,917
- 4
- 32
- 61
-
What do you mean by currently visible widget? Is the the top most item or all the items which are visible in the `ListView`? – CopsOnRoad Mar 16 '19 at 14:02
-
Yeah.. visible item in listview – Rahul Devanavar Mar 16 '19 at 15:41
-
Please read my comment again, which item you are talking about – CopsOnRoad Mar 16 '19 at 15:53
-
Completely visible widgets – Rahul Devanavar Mar 16 '19 at 20:42
-
Possible duplicate of [Find out which items in a ListView are visible](https://stackoverflow.com/questions/57011733/find-out-which-items-in-a-listview-are-visible) – creativecreatorormaybenot Jul 13 '19 at 07:25
1 Answers
-5
Google gives the solution.
https://github.com/google/flutter.widgets (This repository contains the source code for various Flutter widgets that are developed by Google but not by the core Flutter team.)

Quanhua Guan
- 445
- 5
- 9