img_picker_android 1.0.4 copy "img_picker_android: ^1.0.4" to clipboard
img_picker_android: ^1.0.4 copied to clipboard

PlatformAndroid

Android implementation of the img_picker plugin.

image_picker_android #

The Android implementation of img_picker.

Usage #

This package is endorsed, which means you can simply use img_picker normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

Photo Picker #

This package has optional Android Photo Picker functionality.

To use this feature, add the following code to your app before calling any img_picker APIs:

import 'package:img_picker_android/img_picker_android.dart';
import 'package:img_picker_platform_interface/img_picker_platform_interface.dart';
// ···
  final ImagePickerPlatform imagePickerImplementation =
      ImagePickerPlatform.instance;
  if (imagePickerImplementation is ImagePickerAndroid) {
    imagePickerImplementation.useAndroidPhotoPicker = true;
  }
0
likes
150
points
102
downloads

Publisher

unverified uploader

Weekly Downloads

Android implementation of the img_picker plugin.

Topics

#camera #image-picker #files #file-selection

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_plugin_android_lifecycle, img_picker_platform_interface

More

Packages that depend on img_picker_android