Skip to content

Native Multipart Request to get upload progress on Flutter. Something that's not available on dart:http.

License

Notifications You must be signed in to change notification settings

fauziridwan1709/multipart_request

 
 

Repository files navigation

multipart_request

A flutter plugin to send a multipart request with get progress event. Works on both Android and iOS

Example

var request = MultipartRequest();

request.addFile("image", imagePath);

Response response = request.send();

response.onError = () {
  print("Error");
};

response.onComplete = (response) {
  print(response);
};

response.progress.listen((int progress) {
  print("progress from response object " + progress.toString());
});

Support

Buy Me A Coffee

About

Native Multipart Request to get upload progress on Flutter. Something that's not available on dart:http.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 43.7%
  • Swift 16.5%
  • Dart 15.6%
  • Ruby 14.0%
  • Objective-C 7.0%
  • Shell 3.2%