Skip to content

gaetschwartz/wetransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

A plugin that allows you to transfer files to WeTransfer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published