Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My List contains Strings but not int.. then how can I list generate with String #17

Open
ampleHub opened this issue Apr 26, 2020 · 0 comments

Comments

@ampleHub
Copy link

List userQuestions = [];

void load() {
print("load");
setState(() {
questions.addAll(List.generate(20, (v) => v));
print("data count = $questions.length}");
});
}

@ampleHub ampleHub changed the title My List contai My List contains Strings but not int.. then how can I list generate with String Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant