리스트에 있는 값들을 Text 위젯에 대괄호 없이 넣고 싶을 때
List<String> list =["one", "Two", "Thee"];
print(list.join(","));
Reference
https://stackoverflow.com/questions/56443354/how-to-convert-string-list-to-string-in-flutter
How to convert String List to String in flutter?
I need to convert List<String> into a String in the dart. I want to extract the value of the list from preferences. I have tried this implementation but it is only giving me the last value. F...
stackoverflow.com
728x90
'Flutter' 카테고리의 다른 글
| [Flutter] dart get index of list by item (0) | 2022.04.27 |
|---|---|
| [Flutter] How can i get int data from TextEditingController in flutter (0) | 2022.04.27 |
| [Flutter] flutter multiple api calls ; 여러개의 response 처리하기 (0) | 2022.04.27 |
| [Flutter] sizedbox shrink with max height ; child의 크기에 따라서 박스 높이 조절하기 (0) | 2022.04.25 |
| [Flutter] loop list of widget (0) | 2022.04.23 |