how to take input in dart code example
Example: dart get String input from user
import 'dart:io';
void main()
{
print("Enter your name?");
// Reading name of the Geek
String name = stdin.readLineSync();
// Printing the name
print("Hello, $name! \nWelcome to GeeksforGeeks!!");
}