rivium_storage library
RiviumStorage Flutter SDK
Official Flutter SDK for RiviumStorage file storage and image transformation service.
Getting Started
import 'package:rivium_storage/rivium_storage.dart';
final storage = RiviumStorage(apiKey: 'rv_live_xxx');
// Upload a file
final file = await storage.upload(
'my-bucket',
'images/photo.jpg',
imageBytes,
options: UploadOptions(contentType: 'image/jpeg'),
);
// Get transformed URL
final thumbnailUrl = storage.getTransformUrl(
file.id,
transforms: ImageTransforms(width: 200, height: 200),
);
Classes
- Bucket
- Bucket model
- DeleteManyResult
- Delete many files result
- ImageTransforms
- Image transformation options
- ListFilesOptions
- List files options
- ListFilesResult
- List files result
- RiviumStorage
- RiviumStorage Flutter SDK
- RiviumStorageConfig
- RiviumStorage configuration
- StorageFile
- Storage file model
- UploadOptions
- Upload options
Exceptions / Errors
- RiviumStorageException
- RiviumStorage error