Want to convert String List to String in flutter? You can iterate list and concatenate values with StringBuffer.
Here is an example:
1 2 3 4 5 6 7 8 9 10 | var list = ['one', 'two', 'three']; var concatenate = StringBuffer(); list.forEach((item){ concatenate.write(item); }); print(concatenate); // displays 'onetwothree' } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.