Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

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
}
 
PREVIOUS NEXT
Tagged: #print #line #dart
ADD COMMENT
Topic
Name
6+4 =