Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

Concatenate two list in Flutter

List<String> _fruits = ["apple", "banana"];
List<String> _vegetables = ["Potato", "carrot"];

_fruits.addAll(_vegetables); //This will join the list

print(_fruits)
Source by devsheet.com #
 
PREVIOUS NEXT
Tagged: #Concatenate #list #Flutter
ADD COMMENT
Topic
Name
4+1 =