wetransfer 0.3.0+0

Flutter Android iOS

A package that allows you to easily transfer files to WeTransfer and retrieve the trnasfer link.

WeTransfer for Flutter #

A Flutter package that allows upload and dowload files to Wetransfer.

How to create a new instance #

Create a new instance with :

 WeTransferClient client = await WeTransferClient.create('<api_key>');

Example #

    WeTransferClient client = await WeTransferClient.create('<api_key>');
    
    Transfer transfer = await client.createTransfer(
        myFiles, "Test transfer.");

    await client.uploadFiles(transfer).forEach((state) =>
        print('${state.file.name} : ${state.type}'));

    String url = await client.finalizeTransfer(transfer);

    client?.close();
1
likes
90
pub points
0%
popularity

A package that allows you to easily transfer files to WeTransfer and retrieve the trnasfer link.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

blaxoujunior@gmail.com

License

MIT (LICENSE)

Dependencies

http, path, unique_ids, xml

More

Packages that depend on wetransfer