Answers for "list of strings in dart"

1

flutter array of strings

//List of integers
List<int> intArr = [1,2,3,4,5];
print(intArr);
  
//List of strings
List<String> strArr = ['hello', 'world'];
print(strArr);  
  
// When use as Paramitter Default Value
List<String> strArr = const ['hello', 'world'];
Posted by: Guest on November-23-2021
0

list of strings in dart

List<String?> listOfString = ["1","2","3","4","5","6"]
Posted by: Guest on February-19-2022

Code answers related to "Dart"

Browse Popular Code Answers by Language