aws_s3_storage 0.0.1 icon indicating copy to clipboard operation
aws_s3_storage: ^0.0.1 copied to clipboard

A simple, convenient package for uploading to S3. It can help you upload video, image to aws with percentage value and provide media convert functionality.

aws_s3_upload #

A simple, convenient package for uploading to S3.

Heavily inspired by this stackoverflow answer

Motivation / Disclaimer #

There already exists a number of Flutter plugins for interacting with S3, some of which are more actively maintained. This small library was built because the few I tried either failed to work out of the box, or required the use of a Pool ID and AWS Cognito, which my project doesn't use. YMMV.

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"
);
1
likes
90
pub points
27%
popularity

Publisher

verified publisher iconcookoo.io

A simple, convenient package for uploading to S3. It can help you upload video, image to aws with percentage value and provide media convert functionality.

Homepage

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

amazon_cognito_identity_dart_2, flutter, http, path, shared_aws_api

More

Packages that depend on aws_s3_storage