Generates a list of values . Creates a list with length positions and fills it with values created by calling generator for each index in the range 0 .. … The created list is fixed-length if growable is set to false.
Read moreHow do you create a list array in flutter?
A new array can be created by using the literal constructor [] :
Read more