Skip to content

This project uses the camera plugins in Flutter to access the camera of your phone to give you a widget that functions as a real life shiny button.

Notifications You must be signed in to change notification settings

Hadi-Alsinan/shiny_button

Repository files navigation

Shiny button

This project showcases the infomus shiny button made by Alex widua made in flutter With just a few lines of code, you can now enjoy a realstic shiny virtual button.

How it works

This project uses the camera plugins in Flutter to access your phone's camera. to give the button the ability to display reflection while using the CustomPaint widget to give the effect that the button can be summged by the user

Here's what you need to know to get started:

Prerequisites

To use this project, you need to have the following:

  • A smartphone with a front facing camera (the back camera will work too, but the button will not be able to display reflections)
  • Flutter installed on your computer (see Flutter's official documentation for more information)
  • A code editor, like Visual Studio Code or Android Studio

Getting started

  • Clone this repository on your computer
  • Connect your smartphone to your computer and enable USB debugging
  • Run the command flutter run to start the app on your smartphone
  • Allow the app to access your camera and enjoy the button!

Conclusion

This project is a proof of concept and is not meant to be used in production. It is a showcase of what can be done with Flutter and the camera plugin.

About

This project uses the camera plugins in Flutter to access the camera of your phone to give you a widget that functions as a real life shiny button.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published