web_image_picker 0.0.2 copy "web_image_picker: ^0.0.2" to clipboard
web_image_picker: ^0.0.2 copied to clipboard

Platformweb

A dart package to select image from local device and get it as file or uint8List for uploading as multipart or converting in base64 and uploading.

Features #

This package is for flutter web where sometimes image picker do not work properly. With this package you can get the image as uint8List or file and use it for multipart upload.

Getting started #

This package uses GetXController, so in order to show any change in your ui after picking image please use GetX.

Usage #

//create an instance

final WebImagePickerController _picker = Get.put(WebImagePickerController());

//use the _picker with tap detectors

GestureDetector(
onTap: (){
_picker.getImage();
}
child: Text("Pick Image");
)
3
likes
130
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A dart package to select image from local device and get it as file or uint8List for uploading as multipart or converting in base64 and uploading.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, get

More

Packages that depend on web_image_picker