Flutter plugin for selecting multiple images from the Android and iOS image library, taking new pictures with the camera, and edit them before using such as rotating, cropping, adding sticker/filters.
Environment
Mac M1, Flutter 3.0 IOS version target 15
In info.plist
NSCameraUsageDescription is included
When opening dialog for selecting picture from camera, the request permission screen is shown.
Clicking on button leads to an error message. No Dialog opens for confirming camera usage.
Error message
The following _CastError was thrown while handling a gesture:
Null check operator used on a null value
When the exception was thrown, this was the stack:
Environment Mac M1, Flutter 3.0 IOS version target 15
In info.plist NSCameraUsageDescription is included
When opening dialog for selecting picture from camera, the request permission screen is shown. Clicking on button leads to an error message. No Dialog opens for confirming camera usage.
Error message The following _CastError was thrown while handling a gesture: Null check operator used on a null value
When the exception was thrown, this was the stack:
0 _ImagePickerState._initCameraController (package:advance_image_picker/widgets/picker/image_picker.dart:281:41)
Line 281: final cameraController = _controller!;