easy_input

Creator: coderz1093

Last updated:

0 purchases

easy_input Image
easy_input Images

Languages

Categories

Add to Cart

Description:

easy input

Easy input #
A simple Python-style package for working with stdin and files.
Links #
Pub dev
Documentation
Issue tracker
Usage #
import 'dart:io';
import 'package:easy_input/easy_input.dart';

void main() async {
var line = input();
print('line: $line');

final file = open('kek.txt', mode: FileMode.write);
file.writeStringSync('kek1\n');
file.writeStringSync('kek2\n');
await file.close();

final file2 = open('kek.txt');
print('line1: ${input(file: file2)}'); // kek1
print('line1: ${input(file: file2)}'); // kek2
file2.close();
}

copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.