Last updated:
0 purchases
reader
Reader #
A library that allows reading single strings, ints and doubles from stdin in a simple and straightforward way.
Usage #
import 'package:reader/reader.dart';
main() {
final Reader reader = Reader.stdin();
// Input: Hey 1 2.3
final String s = reader.nextString(); // Hey
final int i = reader.nextInt(); // 1
final double d = reader.nextDouble(); // 2.3
}
copied to clipboard
Complete example at example.
Features and bugs #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.