web_image_picker 0.0.1 web_image_picker: ^0.0.1 copied to clipboard
A new Flutter project.
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");
)