veta_storage_kit 0.1.0 copy "veta_storage_kit: ^0.1.0" to clipboard
veta_storage_kit: ^0.1.0 copied to clipboard

Veta storage for Flutter — uploads + signed URLs aligned with @vetaui/storage-kit.

veta_storage_kit #

Flutter storage kit aligned with @vetaui/storage-kit: provider-agnostic upload, list, signed URL, remove, and a drop-in storage page.

Install #

dependencies:
  veta_storage_kit: ^0.0.0

For local monorepo development:

dependencies:
  veta_storage_kit:
    path: ../veta_storage_kit

Setup #

import 'package:veta_storage_kit/veta_storage_kit.dart';
import 'package:veta_foundations/veta_foundations.dart';

void main() {
  configureVetaKits(storage: mockStorageStrategy());
  runApp(const MyApp());
}

Public exports #

  • StorageStrategy, StoredFile, UploadOptions, StorageCapabilities
  • mockStorageStrategy
  • uploadFile, listFiles, signedUrl, removeFile
  • VetaStoragePage

Custom backends implement StorageStrategy; only the capabilities your backend supports need to return true.

0
likes
140
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Veta storage for Flutter — uploads + signed URLs aligned with @vetaui/storage-kit.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, veta_atoms, veta_foundations, veta_molecules

More

Packages that depend on veta_storage_kit