This platform is created , so as to make a huge library of already builded code , that developers can directly use in their flutter project.
-
It will decrease the time to build the projects
-
Extensive Code Library: Access a vast collection of pre-built code snippets covering a wide range of Flutter development scenarios and use cases.
-
Save Development Time: Speed up your development process by leveraging ready-to-use code solutions instead of building everything from scratch.
-
Easy Integration: Seamlessly integrate the code snippets into your Flutter projects with clear instructions and guidelines provided.
-
Search and Discover: Find the right code snippet quickly using powerful search functionality. Search by keywords, categories, or tags to locate relevant code for your specific needs.
-
High-Quality Code: Rest assured that all code snippets have undergone thorough testing and review processes to ensure reliability, efficiency, and adherence to best practices.
-
Open-Source: The platform is open-source, allowing developers to collaborate, contribute, and improve the code snippets for the benefit of the entire community.
![Screenshot (456)](https://github.com/dhruvpatidar359/Fluttersnips/assets/103873587/e967d2ef-b522-4f29-b150-60cecec15ec3)
- Open Terminal and Clone the Repo
git clone https://github.com/dhruvpatidar359/Fluttersnips.git
- Cd Over
cd fluttersnips
- Run Pub
Flutter pub get
- Creating .env file in root directory set up your firebase for the flutter web app
GOOGLE_SIGNIN_CLIENT_ID=
For getting this you have to connect this app with your firebase flutter webapp : 1.1) Run the following commands or visit(https://firebase.google.com/docs/flutter/setup?platform=web)
firebase login
dart pub global activate flutterfire_cli
flutterfire configure
create a project for your firebase
1.2) Enable firebase authentication there ( With google authentication )
- There get the web - client - id copy it .
- paste , it in the .env file
GOOGLE_SIGNIN_CLIENT_ID=YOUR_CLIENT_ID
1.3 ) Enable firebase firestore
1.4 ) Create two collections there as - recents and users
1.5 ) Your are done now
- Run App
flutter run