Answers for "how to get value from user in dart"

1

how to get value from user in dart

import'dart:io';

void main(){
stdout.write('write your text here\r\n');
var userInput=stdin.readLineSync();

print(userInput);

}
Posted by: Guest on September-01-2021

Code answers related to "how to get value from user in dart"

Code answers related to "Dart"

Browse Popular Code Answers by Language