imgbb_uploader 0.0.4 copy "imgbb_uploader: ^0.0.4" to clipboard
imgbb_uploader: ^0.0.4 copied to clipboard

ImgBB Client to upload images from url, local and base64.

A Dart package for uploading images to ImgBB. This package supports uploading images via URL, file, and base64 data with proper error handling.

Upload via URL #

ImgbbUploader('API_KEY').uploadImageUrl(
imageUrl: 'https://example.com/example.jpg',
name:'example',
expiration: 600
);
  • imageUrl: Direct public url
  • name: Name of file
  • expiration: Image expiry time in seconds

Upload via File #

ImgbbUploader('API_KEY').uploadImageFile(
    imageFile: File('test/imgbb.png'),
    name: 'example',
    expiration: 600
);
  • imageFile: Local file path
  • name: Name of file
  • expiration: Image expiry time in seconds

Upload via Base64 #

ImgbbUploader('API_KEY').uploadImageBase64(
    base64Image: '64XF//5600XRI==',
    name: 'example',
    expiration: 600
);
  • base64Image: Base64 encoded image string
  • name: Name of file
  • expiration: Image expiry time in seconds

Getter #

Please find out all get method in Example

Report bugs or issues #

You are welcome to open a ticket on github if any problems arise. New ideas are always welcome.

Copyright and License #

Copyright © 2024 Promise Amadi. Licensed under the MIT LICENSE.

All copyright reserved to imgbb.com

2
likes
140
points
29
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

ImgBB Client to upload images from url, local and base64.

Homepage

Topics

#imgbb #image-upload #ibb #photo-upload #cloud-image

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on imgbb_uploader