media_picker 1.3.5
media_picker: ^1.3.5 copied to clipboard
Flutter plugin to get pictures and videos from the device. It allows you to select one or more images from gallery or camera, without needing to switch provider.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add media_picker
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
media_picker: ^1.3.5
copied to clipboard
Alternatively, 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:media_picker/media_picker.dart';
copied to clipboard