uploadcare_flutter 5.0.0
uploadcare_flutter: ^5.0.0 copied to clipboard
A flutter/dart library for working with Uploadcare REST API. File uploads, media processing, and adaptive delivery for web and mobile.
Flutter Uploadcare Client #
How to use #
Please see this package uploadcare_client
for instructions
This package was introduced a few extensions for base package (Dimensions
, Offsets
, FaceRect
, FacesEntityExtension
), UploadcareImageProvider
. If you don't need these features, you can use uploadcare_client
directly
Implemented features:
- Flutter (mobile/web)
- UploadcareImageProvider (since
2.0.0
)
- UploadcareImageProvider (since
Using with widgets #
The library provides UploadcareImageProvider
for more effective use in the widget ecosystem, how to use image provider:
Image(
image: UploadcareImageProvider(
'uploadcare-image-file-uuid',
// optional, apply transformations to the image
transformations: [
BlurTransformation(50),
GrayscaleTransformation(),
InvertTransformation(),
ImageResizeTransformation(Size.square(58))
],
// rest image props...
),
)
!!! IMPORTANT !!!
If you are using uploadcare_client@<3.0.0
change the dependency name in your project pubspec.yaml
# from
dependencies:
uploadcare_client: '2.x.x'
# to
dependencies:
uploadcare_flutter: ^1.0.0
Do you like the package? Buy me a coffee :)