flutter_aws_s3_client 0.2.0 copy "flutter_aws_s3_client: ^0.2.0" to clipboard
flutter_aws_s3_client: ^0.2.0 copied to clipboard

outdated

A simple, unofficial AWS S3 client in dart. Supports downloading objects and listing objects in a bucket.

example/lib/main.dart

import 'package:flutter_aws_s3_client/flutter_aws_s3_client.dart';
import 'package:flutter/material.dart';

void main() async {
  final region = "eu-central-1";
  final AwsS3Client s3client = AwsS3Client(
      region: "eu-central-1",
      bucket: "bucketid.s3.$region.amazonaws.com",
      accessKey: "<your access key>",
      secretKey: "<your secret key>");

  var listBucketResult =
      await s3client.listObjects(prefix: "dir/dir2/", delimiter: "/");
  print(listBucketResult.toString());

  final response = await s3client.getObject("at/3/drugs_at.sqlite");
  print(response.body.toString());
}
35
likes
0
pub points
87%
popularity

Publisher

unverified uploader

A simple, unofficial AWS S3 client in dart. Supports downloading objects and listing objects in a bucket.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

amazon_cognito_identity_dart, built_collection, built_value, http, xml2json

More

Packages that depend on flutter_aws_s3_client