flutter_cos_client 0.0.1
flutter_cos_client: ^0.0.1 copied to clipboard
一个用于上传文件到腾讯云 COS(对象存储)的 Flutter 插件,支持永久密钥和临时密钥两种方式,支持字节数据和文件上传。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_cos_clientThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_cos_client: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_cos_client/flutter_cos_client.dart';