Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 883 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 883 Bytes

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