fs 2.0.0 copy "fs: ^2.0.0" to clipboard
fs: ^2.0.0 copied to clipboard

The cross-platform file system for Dart (and Flutter of course).

example/main.dart

import "package:fs/html.dart" if (dart.library.io) "package:fs/io.dart";

void main() {
  File file = new File("example.txt");
  file.writeAsStringSync("Hello, World!");

  Directory dir = new Directory("example");
  dir.createSync();
}
0
likes
60
pub points
30%
popularity

Publisher

verified publishertomaswrobel.dev

The cross-platform file system for Dart (and Flutter of course).

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on fs