void main() { List<int> numeros = [1,2,3,4,,,,,,]; 5 numeros.add(); 6 print( numeros ); 7 8 /*La palabra clave final se utiliza para codificar 9 los valores de la variable y no se puede modificar 10 en el futuro, ni ningún tipo de operación realizada 11 en estas variables puede alterar su valor (estado). */ /* Sin tipo de datos nombre_variable final; */ /*Con tipo de datos final data_type variable_name;*/ final masNumeros = List.generate(20, (int index) => index ); print(masNumeros); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter