tailf 1.1.1 tailf: ^1.1.1 copied to clipboard
A pure dart implementation of `tail -f` providing a stream of `Uint8Bytes`, `String`, or split by lines.
import 'dart:io';
import 'package:tailf/tailf.dart';
main() async {
final tail = TailFile(File('/var/log/syslog'));
await for (var line in tail.asLines) {
print('system log: $line');
}
}