wfile 0.5.3 copy "wfile: ^0.5.3" to clipboard
wfile: ^0.5.3 copied to clipboard

Convenient work with JSON, image, text, binary files across multiple platforms. Can detect MIME types.

example/main.dart

// ignore_for_file: avoid_print

import 'package:wfile/wfile.dart';

void main() {
  final f = WFile('example/data');

  // read a content
  print(f.readAsText('happy.txt'));

  // identify a type
  print(f.binary('image.webp'));

  // identify the MIME type
  print(f.mime('image.webp'));
}
1
likes
140
pub points
42%
popularity

Publisher

verified publishersyrokomskyi.com

Convenient work with JSON, image, text, binary files across multiple platforms. Can detect MIME types.

Repository (GitHub)
View/report issues
Contributing

Topics

#files #xml #image #filesystem #crossplatform

Documentation

API reference

License

MIT (LICENSE)

Dependencies

image, json_dart, mime, path, xml

More

Packages that depend on wfile