camera_camera icon indicating copy to clipboard operation
camera_camera copied to clipboard

What happened to camera mode?

Open chitgoks opened this issue 4 years ago • 6 comments

there is no more mode property in CameraCamera() what's the new one for this?

i wish to use mode for full screen and normal

chitgoks avatar Mar 29 '21 01:03 chitgoks

If you used in full screen, need controller Flutter System force full screen, because CameraCamera now is widget

gabuldev avatar Apr 05 '21 19:04 gabuldev

how?

this is my code

CameraCamera(
   onFile: (File file) async { } 
)

In the old version 2.0.2 I set either normal or full screen but now, there is no clue in the doc. When this one gets triggered it is automatically in full screen.

chitgoks avatar Apr 06 '21 00:04 chitgoks

Read this https://stackoverflow.com/questions/46640116/make-flutter-application-fullscreen

gabuldev avatar Apr 06 '21 12:04 gabuldev

somehow im confused. isnt cameracamera a widget even before?

i didnt havent issues last i used was 2.0.2. now when i updated to 3.0.3, the mode property has been removed.

currently when i use the widget using the code above , it is full screen. why was the mode property removed? any reason?

Screenshot_20210406_214609_prutective generation

chitgoks avatar Apr 06 '21 13:04 chitgoks

Because widget is very easy used. And responsibilities remove status bar is your application

gabuldev avatar May 19 '21 17:05 gabuldev

sorry i dont understand. is there a way to add a mode to it?

chitgoks avatar May 19 '21 22:05 chitgoks