Flutter remove whitespace and newline in array of string
onIn Dart to remove only the whitespace around a string, you can use the trim method. The trim method removes any leading and trailing whitespaces from the string. Here is an example: I had a situation to remove whitespace and new line array the string inside the array/list, so we have to use a regular […]
Read more..