Last active
March 9, 2023 11:10
-
-
Save SteveOye/c94d84799a488f1af0f810fd2e0bafef 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
//There are different ways to create listview, we will be using ListView.builder in this sample | |
ListView.builder( | |
itemCount: list.length//lengthOfListItem, | |
itemBuilder: (context, index) { | |
return ListItemWidget; //List item widget; | |
}, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment