Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

how to take integer input from user in dart

import 'dart:io';

void main() {
  print("Enter a number..");
    var number = stdin.readLineSync();
    var intNumber= int.parse(number);
    print(intNumber);
}
Source by www.reddit.com #
 
PREVIOUS NEXT
Tagged: #integer #input #user #dart
ADD COMMENT
Topic
Name
4+8 =