flutter_imagekit 0.0.3 flutter_imagekit: ^0.0.3 copied to clipboard
This Package use Official Documentation of ImageKit.io. To use ImageKit.io API for Flutter Projects. With Progress Value. This Package only required apiKey from ImageKit.io.
Usage #
Lets take a look at how to use ImageKit.io
Flutter Package.
flutter_imagekit.dart #
ImageKit.io(
file,
privateKey: "PrivateKey", // (Keep Confidential)
onUploadProgress: (progressValue) {
if (kDebugMode) {
print(progressValue);
}
},
).then((value) {
// Get your uploaded Image file link from ImageKit.io
//then save it anywhere you want. For Example- Firebase, MongoDB etc.
if (kDebugMode) {
print(value);
}
});