daravel_medialibrary 1.25.0
daravel_medialibrary: ^1.25.0 copied to clipboard
Files and images attached to Daravel models, on spatie/laravel-medialibrary's media table and file layout, with image conversions in pure Dart.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add daravel_medialibraryWith Flutter:
$ flutter pub add daravel_medialibraryThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
daravel_medialibrary: ^1.25.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:daravel_medialibrary/daravel_medialibrary.dart';