flutter_qiniu_upload 0.0.4 icon indicating copy to clipboard operation
flutter_qiniu_upload: ^0.0.4 copied to clipboard

PlatformAndroid

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
110
pub points
8%
popularity

Publisher

unverified uploader

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

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_qiniu_upload