flutter_imagekit 0.0.5 copy "flutter_imagekit: ^0.0.5" to clipboard
flutter_imagekit: ^0.0.5 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.

Logo

Usage #

  Only ImageKit.io Private Key Required. 

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((String url) {
    // Get your uploaded Image file link from ImageKit.io
    //then save it anywhere you want. For Example- Firebase, MongoDB etc.
    if (kDebugMode) {
      print(url); // your Uploaded Image/Video Link From Imagekit
    }
  });

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((String url) {
    // Get your uploaded Image file link from ImageKit.io
    //then save it anywhere you want. For Example- Firebase, MongoDB etc.
    if (kDebugMode) {
      print(url); // your Uploaded Image/Video Link From Imagekit
    }
  });

Package Maintainer's #

Thank you

8
likes
140
points
106
downloads

Publisher

verified publisherbaraxuntech.com

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on flutter_imagekit