This application is developed as a capstone project called Smart Baby Monitoring Device. It will communicate to a Raspberry Pi device through Firebase. You can find Raspberry Pi source code over here.
This project will not work if you just clone and run it. You need to import your own google-services.json file which is needed to connect to your own Firebase instance. I removed the original one for the sake of security. Detailed information can be found over here.
Also, add the following line at the end of the colors.dart file by going to its implementation, or change the lines where I used "mySpecialGreen" color.
static const Color mySpecialGreen = Color(0xFF002800);
For live streaming of the camera, Dataplicity service is used to be able to watch the camera over the Internet. It is helpful to get rid of port forwarding shenanigans. Here is the live streaming guide. Bear in mind that this project uses the Free Subscription among other subscription plans.
You have to change IMG_URL
and STREAM_URL
in forbiddenZone.dart and liveStream.dart files respectively.
Dataplicity uses Hawkeye as the streaming service so check that repository for detailed guidance about the links.
- ListView - ListTile error solution
- "Bottom Overflowed" error
- Example Switch Usage
- Retreive or change the value of a TextField
- Navigation - Routing between screens
- Call function on Back Button pressed
- Widget over Widget
- Resizable Rectangle
- This answer really saved my life
- NetworkImageWithRetry
- Widget Communication between each other