A custom button widget that shows a live camera preview

Camera Button

Camera Button is a custom button widget that shows a live camera preview and It will act like a miror. This project is created just for fun to show “#Flutter can do this too”.

Inspired by this tweet of web implementation

video_2023-05-02_10-45-12.mp4

Online Demo

You can see the online demo of Camera Button at https://payamzahedi.com/camera_button/.

Run

To run this project on your local machine, you need to have Flutter installed. Then, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/your-username/camera-button.
  1. Open the project in your preferred IDE or text editor.

  2. Run the project using the Flutter CLI:

flutter run

GitHub

View Github