flutter-package / images_picker

Flutter plugin for selecting images/videos from the Android and iOS gallery, and taking pictures/videos with the camera
MIT License
65 stars 87 forks source link

pickType: PickType.all is not working #68

Closed Ashutoshtripathi980 closed 2 years ago

Ashutoshtripathi980 commented 2 years ago

Code :
ElevatedButton( child: Text('openCamera for video and image'), onPressed: () async { List? res = await ImagesPicker.openCamera( pickType: PickType.all, quality: 0.8, maxSize: 800, maxTime: 15, ); print(res); if (res != null) { print(res[0].path); setState(() { path = res[0].thumbPath; }); } }, ),

pickType: PickType.all, is unable to pic image and video together.

chavesgu commented 2 years ago
        open camera not support all type---- On 星期二, 18 一月 2022 20:14:54 +0800  ***@***.******@***.***> wrote ---- 

Code : ElevatedButton( child: Text('openCamera for video and image'), onPressed: () async { List? res = await ImagesPicker.openCamera( pickType: PickType.all, quality: 0.8, maxSize: 800, // cropOpt: CropOption( // aspectRatio: CropAspectRatio.wh16x9, // ), maxTime: 15, ); print(res); if (res != null) { print(res[0].path); setState(() { path = res[0].thumbPath; }); } }, ),

—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Ashutoshtripathi980 commented 2 years ago

then , why their is an option of all type in code.

chavesgu commented 2 years ago
        support in ios---- On 星期二, 18 一月 2022 20:37:34 +0800  ***@***.******@***.***> wrote ---- 

then , why their is an option of all type in code.

—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>