juice_media 0.5.0
juice_media: ^0.5.0 copied to clipboard
Media acquisition (camera/gallery) and per-item upload state as a Juice bloc, behind swappable seams.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add juice_mediaThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
juice_media: ^0.5.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:juice_media/juice_media.dart';