Created
February 5, 2020 07:06
-
-
Save kitoko552/5a5dba35b4ac82cbdd3845f68621ef31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final controller = IndexedScrollController(); | |
IndexedListView.builder( | |
controller: controller, | |
itemBuilder: (context, index) { | |
return child; | |
}, | |
); | |
// スクロール処理 | |
controller.jumpToIndex(index); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment