remove_bg 0.0.2 remove_bg: ^0.0.2 copied to clipboard
Simple and light weight package to use Official Documentation of remove.bg.
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