I've been learning dart for a couple of weeks and here where I was trying to print a stack of starts (*) I discovered that there is no print method to print horizontally. It always creates a new line after it executes the print method. Here is my code:
main(List<String> args){
for(int i = 0; i<3; i++){
for(int k =0; k<=i; k++){
print("*");
}
}
}
Here is the output: