cloudflare_r2_uploader 1.0.0
cloudflare_r2_uploader: ^1.0.0 copied to clipboard
A Dart package for uploading files to Cloudflare R2 using AWS Signature Version 4. Supports progress tracking, automatic MIME detection, and returns the uploaded file URL.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cloudflare_r2_uploaderWith Flutter:
$ flutter pub add cloudflare_r2_uploaderThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
cloudflare_r2_uploader: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cloudflare_r2_uploader/cloudflare_r2_uploader.dart';