photo_picker 0.0.1
photo_picker: ^0.0.1

Flutter Android iOS

photo picker and camera for flutter.

ImagePickerController #

Feature #

ItemiOSAndroid
photo picker✔️
camera✔️
multi-select✔️
multi-select limit✔️
thumbnail(300*300)✔️
compression✔️

Usage #

1. Import packages
import 'package:path_provider/path_provider.dart';
import 'package:photo_picker/photo_picker.dart';
2. Get cache path
// in state
Directory _tempDirectory;
// in async init function
_tempDirectory = await getTemporaryDirectory();
3. Call
// on pressed
PhotoPicker.camera({"edit": false}).then((onValue) {
    setState(() {
        _photos.addAll(onValue);
    });
});

PhotoPicker.pickPhoto({"limit": 8, 
                       "cameraRollFirst": true, 
                       "mode": "fit"}).then((onValue) {
                setState(() {
                  _photos.addAll(onValue);
                });
});

0
likes
80
pub points
39%
popularity

photo picker and camera for flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

rickyfunfun@gmail.com

License

unknown (LICENSE)

Dependencies

flutter, path_provider

More

Packages that depend on photo_picker