Answers for "how to let the user just input number nad dote in flutter"

0

Dart integer User input

import 'dart:io';

void main() {
  int value = stdin.readIntSync();
  print(value);
}

extension ReadIntSyncOnStdin on Stdin {
  int readIntSync() => int.parse(this.readLineSync());
}
Posted by: Guest on June-05-2021

Code answers related to "how to let the user just input number nad dote in flutter"

Browse Popular Code Answers by Language