multipart_request 0.3.1 copy "multipart_request: ^0.3.1" to clipboard
multipart_request: ^0.3.1 copied to clipboard

A flutter plugin to send a multipart request and get stream of progress.

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());
});
16
likes
40
pub points
67%
popularity

Publisher

verified publisheraawaz.dev

A flutter plugin to send a multipart request and get stream of progress.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on multipart_request