Usage
Lets take a look at how to use Remove.bg Flutter Package.
Remove.bg(
file,
privateKey: "PrivateKey", // (Keep Confidential)
onUploadProgress: (progressValue) {
if (kDebugMode) {
print(progressValue);
}
},
).then((String url) {
// Get your uploaded Image file link from Remove.bg
//Now you can save it anywhere you want using ImageKit.io to For Example- Firebase, MongoDB etc.
if (kDebugMode) {
print(url);
}
});
Examples
- Remove.bg
Select Image
and Upload onRemove.bg
then you will received Converted image file fromRemove.bg