Closed Ashutoshtripathi980 closed 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: @.***>
then , why their is an option of all type in code.
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: @.***>
Code :? 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;
});
}
},
),
ElevatedButton( child: Text('openCamera for video and image'), onPressed: () async { List
pickType: PickType.all, is unable to pic image and video together.