Anyone know of an efficient way to make all items in HorizontalPager the same height as the tallest item? I've tried onSizeChanged{} and onGloballyPositioned{} but neither is working as expected
z
Zach Klippenstein (he/him) [MOD]
01/18/2025, 8:49 PM
It’s lazy right? So not possible.
a
agrosner
01/18/2025, 8:51 PM
Best you can do is take largest visible size item and just have it grow larger whenever it encounters a larger page otherwise don’t shrink
👍 1
agrosner
01/18/2025, 8:52 PM
Better than having the first page be super large with lot of white space especially if it’s within a vertical container
z
Zach Klippenstein (he/him) [MOD]
01/18/2025, 9:11 PM
Or make a non-lazy pager if you’ve only got a few simple/cheap items and don’t need laziness.
j
jbreedlove90
01/18/2025, 9:35 PM
Thanks! It's definitely going to be a huge list of items so non-lazy isn't an option but I'll look into the visible item size option!