import 'dart:io';
void main() {
print("Enter your name :");
// prompt for user input
String name = stdin.readLineSync();
// this is a synchronous method that reads user input
print("Hello Mr. ${name}");
print("End of main");
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266234.html