You have a list of a million rows and you want to jump to row 842,013. ScrollController.jumpTo takes a pixel offset, not an index. To convert one to the other you need the total height of the 842,012 rows above your target — and a lazy list has never built them, so it does not know how tall they are. That is not an oversight. It is the entire...
🔧 Programmierung 🕛 kürzlich 1 Min Lesezeit
Scrolling to an Index in a Flutter Lazy List, Without Building Everything Above It
Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
Wie bewertest du diesen Beitrag?
1 Klick Feedback Teilen mit Netzwerk & Team:
Hat Ihnen dieser Tipp / Anleitung geholfen?
Community-Analysen & Experten-Meinungen 0
Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf „ Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum 🔴 Akute Relevanz 49%
🟡 In Evaluierung 28%
🟢 Keine Auswirkung 12%
Spannende Innovation 11%
SOCIAL SHARE CARD GENERATOR