Find central item in ListView with different size items

I have created a list with the largest central item. when scrolling, the central item is always bigger than other items.
I have used notification.metrics.pixels / itemExtent + 2 (itemExtent: width of the item). But it’s not right, central item is moved to the right. I have also used PageView, but I can’t display more items on the screen (9 item on the screen with the largest central item).
Has anyone ever encountered this case? Looking forward to the help!

1 Like