Answers for "how to print string and number in same line in 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 "how to print string and number in same line in dart"

Browse Popular Code Answers by Language