amplify_storage_easy 1.0.1 copy "amplify_storage_easy: ^1.0.1" to clipboard
amplify_storage_easy: ^1.0.1 copied to clipboard

The amplify_storage_easy package simplifies working with Amazon Web Services (AWS) Amplify Storage in Dart projects. It provides a user-friendly and efficient way to upload to AWS S3 buckets while abs [...]

example/example.md

Example #

Here's an example of how to use the AWS SigV4 Dart Client:

import 'package:amplify_storage_easy/amplify_client.dart'

uploadData() {
    // initialize AWSClient before using
AWSClient.init(
    accessKeyId: '', // your accessKeyId
    secretKeyId: '', // your secretKeyId
    region: '', // eg: ap-south-1
    bucketname: '', // bucket name
    s3Endpoint: '', // eg: https://your_bucket_name.s3-ap-south-1.amazonaws.com
);

String? url = await AWSClient.uploadData(
folderName, fileName, data,
).then((res) {
    if(res is String){
        return res;
    }else {
        if(kDebugMode) {
            print(res);
        }
        return null;
    }
});
}
2
likes
140
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

The amplify_storage_easy package simplifies working with Amazon Web Services (AWS) Amplify Storage in Dart projects. It provides a user-friendly and efficient way to upload to AWS S3 buckets while abstracting the complexities of AWS Amplify.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto, flutter, http

More

Packages that depend on amplify_storage_easy