This can be achieved by adding \n into your text widget as below. Here is the code from main. dart file to achieve this.
Read moreHow do you print without newline in darts?
You can use stdout : import “dart:io”; stdout. write(“foo”); will print foo to the console but not place a \n after it.28 May 2017
Read more