Answers for "print on same line dart"

1

how to print in the same line in dart

// Importing dart:io file
import 'dart:io';
 
void main()
{
    //use stdout.write() instead of print()
    stdout.write("Hello ");
    stdout.write("World!");
    //it will not add a new line after printing
}
Posted by: Guest on June-25-2021

Code answers related to "print on same line dart"

Browse Popular Code Answers by Language