Skip to content

Instantly share code, notes, and snippets.

@bacalj
Created December 17, 2019 17:40
Show Gist options
  • Select an option

  • Save bacalj/a980f9d700d7bd51e54d481c1e7f201d to your computer and use it in GitHub Desktop.

Select an option

Save bacalj/a980f9d700d7bd51e54d481c1e7f201d to your computer and use it in GitHub Desktop.
getting input old timey way in dart
import 'dart:io';
void main() {
stdout.writeln('who r u?');
String input = stdin.readLineSync();
return respondo(input);
}
void respondo(String responso){
print('Hello, $responso');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment