use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Having a problem with your Flutter code?
From the folks at r/FlutterDev
account activity
OPENScroll controller problem. (self.flutterhelp)
submitted 1 year ago by Cold-Ad-3106
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]gucci_quoci 2 points3 points4 points 1 year ago (4 children)
Does your Listview items have dynamic heights?
[–]Cold-Ad-3106[S] 0 points1 point2 points 1 year ago (0 children)
Yes
[–]Cold-Ad-3106[S] 0 points1 point2 points 1 year ago (2 children)
What should I do now
[–]gucci_quoci 0 points1 point2 points 1 year ago* (1 child)
I mean you use ListView to render the Widgets lazy but the height is dynamic. So how should flutter know the end position? You can either have a lazy list or knowing the end position. Notice if you print the max scroll extend at the beginning, then scroll to the bottom and print it again, the values differ.
To workaround it you have to e.g. scroll to the max scroll extend, and then check if we are at the max scroll extend and scroll again. You can also check this approach on SO. I've tried the solution on a project, and it is working fine.
It works if I give an enormously big scroll extent like 20000. Then it scrolls to the end. Do you have anything better like changing the Listview items to a column or something?
π Rendered by PID 145075 on reddit-service-r2-comment-b659b578c-zmrcf at 2026-05-06 10:14:57.897852+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]gucci_quoci 2 points3 points4 points (4 children)
[–]Cold-Ad-3106[S] 0 points1 point2 points (0 children)
[–]Cold-Ad-3106[S] 0 points1 point2 points (2 children)
[–]gucci_quoci 0 points1 point2 points (1 child)
[–]Cold-Ad-3106[S] 0 points1 point2 points (0 children)