"phrase": "educated washroom stinging breeze regroup earphone threaten epidemic hazy imbecile fritter bony"
So, phrase is my string. I want to get phrase string in form of string arraylist
stringList = ['educated','washroom','stinging',....]
you can do it by using split method of string like this
const string = 'Hello world!';
final splitted = string.split(' ');
print(splitted); // [Hello, world!];
you can read more details about split method from the official documentation.
Edit:
The solution for the problem you typed in the comment.
ListView.builder(
itemCount: stringList.length,
itemBuilder: (context, index) {
return ListTile(
title: Text(stringList[index]),
);
},
),