http://www.pianshen.com/article/3852288080/
http://whysodiao.com/reading-notes/flutter-custom-camera/

做到一个需要上传图片的需求
参考了:https://www.cnblogs.com/wyhlightstar/p/11082675.html
https://pub.dev/packages/image_picker

iOS #

Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

  • NSPhotoLibraryUsageDescription - describe why your app needs permission for the photo library. This is called Privacy - Photo Library Usage Description in the visual editor.
  • NSCameraUsageDescription - describe why your app needs access to the camera. This is called Privacy - Camera Usage Description in the visual editor.
  • NSMicrophoneUsageDescription - describe why your app needs access to the microphone, if you intend to record videos. This is called Privacy - Microphone Usage Description in the visual editor.

image.png