upload_to_s3bucket 0.0.1 upload_to_s3bucket: ^0.0.1 copied to clipboard
library to upload images directly to amazon s3 bucket
upload_to_s3bucket #
library to upload images directly to amazon s3 bucket
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
UploadToS3 instance = UploadToS3(); instance.send( imagePathOfPhone: 'path/storage/emulated/0/DCIM/Camera/xxxxxxxx.jpg', imagePathInS3Bucket: 'assets/forTesting', bucketName: 'xxxxxxxxxxxxx', accessKeyId: 'xxxxxxxxxxxxxxxxxx', secretKeyId: 'xxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', region: 'xx-xxxx-x', s3Endpoint: 'https://xxxxxxx.s3.xx-xxx-x.amazonaws.com');