aws_s3_upload_lite 0.0.2 aws_s3_upload_lite: ^0.0.2 copied to clipboard
A simple, convenient package for uploading to AWS S3.
aws_s3_upload_lite #
A simple, convenient package for uploading to AWS S3.
Inspired by aws_s3_upload
Getting Started #
Having created credentials on AWS, upload a file like so:
AwsS3.uploadFile(
accessKey: "AKxxxxxxxxxxxxx",
secretKey: "xxxxxxxxxxxxxxxxxxxxxxxxxx",
file: File("path_to_file"),
bucket: "bucket_name",
region: "us-east-2",
metadata: {"test": "test"} // optional
);
Motivation #
There are several Flutter plugins for interacting with AWS S3, this small library was built because the other packages are no longer well maintained.