Posts

Showing posts from August, 2024

Flutter-Fire Setup Demo Tutorial with Code

Image
Setup Flutter Fire: Prerequisites: Install Flutter in Android Studio. Create (Setup) Firebase database. Database Structure:  NOTE: Output is attached at end of post. You may change it as per your need.      Step 1: Configure Firebase App CLI for all Platforms. Official Docs:   https://firebase.google.com/docs/flutter/setup Official Youtube Tutorial:  https://www.youtube.com/watch?v=FkFvQ0SaT1I (Run the app once to check installation.) Step 2: Add Essential Dependencies Get all Packages here: https://pub.dev Step 3: Edit pubspec.yaml Add Dependencies. NOTE: Check Version, your version may defer. My pubspec.yaml dependencies : flutter : sdk : flutter firebase_database : ^11.0.3 http : ^1.2.2 # The following adds the Cupertino Icons font # to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons : ^1.0.2 firebase_core : ^3.2.0 Step 3: Code Documentation CRUD from Flutter Fire: https://firebase.google.co...