resource_portable 3.0.1 copy "resource_portable: ^3.0.1" to clipboard
resource_portable: ^3.0.1 copied to clipboard

Reading resource data from files in a portable way (VM, Web, Flutter and native).

example/resource_portable_example.dart

import 'dart:convert' show utf8;

import 'package:resource_portable/resource.dart' show Resource;

main() async {
  var resource = Resource("package:foo/foo_data.txt");
  var content = await resource.readAsString(encoding: utf8);
  print(content);
}
6
likes
0
pub points
80%
popularity

Publisher

unverified uploader

Reading resource data from files in a portable way (VM, Web, Flutter and native).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

typed_data

More

Packages that depend on resource_portable