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

awazgyawali/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

Contributors 4

  •  
  •  
  •  
  •