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

outdated

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

multipart_request #

A flutter plugin to send a multipart request and gt progress event. Only runs on android and uses OkHttp.

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
0
pub points
54%
popularity

Publisher

verified publisheraawaz.dev

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on multipart_request