How to Show Camera Inside Flutter App!
Вставка
- Опубліковано 14 жов 2024
- Get 10,000 free mins with ZEGOCLOUD SDK: bit.ly/43uijSL
Pre-built UIKits to build flutter apps faster: bit.ly/415hkHk
Best flutter video call sdk: bit.ly/3UwIHaC
ZEGOCLOUD allows you to easily build video calls, voice calls, live streaming and chat apps within minutes.
Hello everybody, i hope you had a great day!
In this video, i will show you how to use camera in flutter app!
I'll be making more of these kind of video where i help to solve your probIems. I hope you learn something new from my video! Sorry i can't explain my code much in the video. If you have any question, feel free to leave it in the comment section, i will answer it later! If you like my video, please leave a like on the video. Also, consider subscribing if you like my contents!
Source Code :
github.com/Byt...
Maybe a little help? ;D
ko-fi.com/bytx...
I will upload more video about flutter, making an app from scratch, and others! If you have any video idea, please leave it in the comment section down below!
Music :
♪ Jam (Prod. by Lukrembo)
Link : • (no copyright music) l...
♪ Pancake (Prod. by Lukrembo)
Link : • lukrembo - pancake (ro...
#zegocloud #flutter #uikits
if anybody gets stuck on the "late cameraController not initialized" error. Try wrapping your build method in a try catch like this: (remove the if (cameraController.value.isInitialized))
@override
Widget build(BuildContext context) {
try {
return Scaffold(
body: Stack(
children: [
CameraPreview(cameraController),
],
),
);
} catch (e) {
return const SizedBox();
}
}
Like/Comment if it works/ does not work for you
omg, thank you sm!
lifesaver dude!!
how can i open front and back camera at one screeen at same time?? pls reply
I cant access the location where the file is saved. How can I change it?
How can you implement a face detection feature within a specific container in the camera preview
but how do i not show the error screen when I navigate to camera
Run the app again in terminal and it will work
After running again it will ask for permission, click allow while using the app!
Would it be like using security cameras using intelbras API an example?
do you give personal classes?
Nice tutorials it help a lot, but how to make the camera full screen without the big white bar at the bottom ?
Use a sizedbox and mediaquery
SizedBox(
height: MediaQuery.of(context).size.height,
child: CameraPreview(cameraController),
)
Nice tutorial.
How to make the stack be fullscreen without the gap at the bottom?
super easy, wrap the camera preview with a container and give it height and width of double.infinity
Wow....lovely music...awesome tutorial...
Thank you
Will you show how to upload this taken image to API/Laravel API server?
There's some tutorial on how to upload image into laravel on google, you can give the taken image's path to it
their is a error coming that you did not fixed . kindly give solution to that
How to get rid of the white bar on the bottom?
Where is Permission Handler and Permission Popups ?? 😩😩😩😩😩😖
why its always show lateInitialize error, and how to fix it?
@@muhammadrandi6223 Hi i also have same problem. could you tell me how you solve it ?
@@MrtaiDiary and use it later in camera page
@Muhammad Randi restart the application fully, so red button and than restart it... error should be gone then
@@muhammadrandi6223
kindly provide with solution for LateInitialize Erro
مرحبا ممكن اعرف كيف حليت المشكلة؟
but where are we supposed to keep the mainscreen.dart file
In the Lib folder
along with following code in main.dart "import './mainscreen.dart';"
source code not found 404
It is fixed
@@Bytx-youtube thanks bro
great
fuck that music off mate