Skip to content

Instantly share code, notes, and snippets.

@Abushawish
Created May 27, 2022 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Abushawish/048acfdaf956640ea6fa8b3991dbbd81 to your computer and use it in GitHub Desktop.
Save Abushawish/048acfdaf956640ea6fa8b3991dbbd81 to your computer and use it in GitHub Desktop.
SingleChildScrollView with List.generate in Flutter
SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Row(
children: List.generate(namesStringList.length, (index) {
return Text(namesStringList[index]);
}),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment