flutter_qiniu_upload 0.0.3

Flutter Android

A flutter plugin for Qiniu file upload. Support multiple file uploads, listen progress and cancel uploads.

flutter_qiniu_upload #

support-android pub stars license

A flutter plugin for Qiniu file upload. Support multiple file uploads, listen progress and cancel uploads.

七牛文件上传插件,支持多文件上传、监听进度和取消上传。

Getting Started #

初始化 #

QiniuUpload.initialize();

直接上传 #

final qiniuFile = await QiniuUpload.uploadDirectly(file, uploadToken, key);

监听进度 #

final requestId = await QiniuUpload.upload(file, uploadToken, key);
QiniuUpload.progress(requestId).listen((progress) {
  print(progress.percent);
});

取消上传 #

final requestId = await QiniuUpload.upload(file, uploadToken, key);
QiniuUpload.cancel(requestId);
1
likes
90
pub points
23%
popularity

A flutter plugin for Qiniu file upload. Support multiple file uploads, listen progress and cancel uploads.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

im.brucezz@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_qiniu_upload