system_media_picker 1.0.1
system_media_picker: ^1.0.1 copied to clipboard
Permission-free image and video picker for Flutter. Wraps the Android System Photo Picker and iOS PHPickerViewController behind a single Dart API — no READ_MEDIA_* / NSPhotoLibrary* declarations needed.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add system_media_pickerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
system_media_picker: ^1.0.1Alternatively, 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:system_media_picker/system_media_picker.dart';