imagekit_io 0.0.3 copy "imagekit_io: ^0.0.3" to clipboard
imagekit_io: ^0.0.3 copied to clipboard

Those who love Dio and Build App for Web. Also This Package use Official Documentation of ImageKit.io. With Loading Progress Value.

Logo

  Now Support Complete Json Response from ImageKit.io
  Those who love Dio and Build App for Web 

  Only ImageKit.io Private Key Required. 

Usage #

Lets take a look at how to use ImageKit.io Flutter Package.

  ImageKit.io(
    file,
    //  folder: "folder_name/nested_folder", (Optional)
    privateKey: "PrivateKey", // (Keep Confidential)
    onUploadProgress: (progressValue) {
      if (kDebugMode) {
        print(progressValue);
      }
    },

  ).then((ImagekitResponse data) {
      /// Get your uploaded Image file link from [ImageKit.io]
      /// then save it anywhere you want. For Example- [Firebase, MongoDB] etc.
      if (kDebugMode) {
        print(data.url!); // (you will get all Response data from ImageKit)
        // print(data.fileId!);
      }
  });

You can also use image/video link to Upload on ImageKit.io.

  ImageKit.url(
    url,
    //  folder: "folder_name/nested_folder", (Optional)
    privateKey: "PrivateKey", // (Keep Confidential)
    onUploadProgress: (progressValue) {
      if (kDebugMode) {
        print(progressValue);
      }
    },

  ).then((ImagekitResponse data) {
      /// Get your uploaded Image file link from [ImageKit.io]
      /// then save it anywhere you want. For Example- [Firebase, MongoDB] etc.
      if (kDebugMode) {
        print(data.url!); // (you will get all Response data from ImageKit)
      }
  });

Package Maintainer's #

Thank you

4
likes
130
points
31
downloads

Publisher

verified publisherbaraxuntech.com

Weekly Downloads

Those who love Dio and Build App for Web. Also This Package use Official Documentation of ImageKit.io. With Loading Progress Value.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on imagekit_io