mx_file_system 1.0.0 copy "mx_file_system: ^1.0.0" to clipboard
mx_file_system: ^1.0.0 copied to clipboard

檔案系統, 在Native上使用原生IO, Web上使用IndexedDB

檔案系統, 在Native上使用原生IO, Web上使用IndexedDB

使用方式 #

// 使用 getMxFile 取代 File
final file = getMxFile('path/to/file');
// 接著即可按照一般的file進行使用
final bytes = file.readAsBytes();

// 使用 getMxDirectory 取代 Directory
final dir = getMxDirectory('path/to/dir');
// 接著即可按照一般的dir進行使用
final entities = dir.list();
0
likes
115
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

檔案系統, 在Native上使用原生IO, Web上使用IndexedDB

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, path, sembast, sembast_web

More

Packages that depend on mx_file_system