To add a Flutter plugin, run flutter pub add package_name
from the root of your project.
This adds the dependency to your pubspec.yaml file.
After you add the dependency, add an import statement for the package
in your Dart file.

You might need to change app settings or initialization logic.
If that’s needed, the package’s “Readme” page on pub.dev
should provide details.

Flutter Plugins and Apple Frameworks

Access the photo library

PhotoKitusing the Photos and PhotosUI  frameworks
        UIImagePickerController

image_picker

Access the camera

UIImagePickerControllerusing the .camera sourceType

image_picker

Use advanced camera features

AVFoundation

camera

Offer In-app purchases

StoreKit

in_app_purchase1

Process payments