Firebase Auth and Storage
This project uses the following dependencies:
dependencies:
cupertino_icons: ^1.0.6
get: latest_version
icons_plus: ^5.0.0
firebase_core: ^3.0.0
Note: The following dependencies are currently listed but not used:
http
shared_preferences
connectivity_plus
flutter_launcher_icons
This project uses the Lufga
font.
fonts:
- family: Lufga
fonts:
- asset: assets/fonts/Lufga-Regular.ttf # Ensure the font file exists
The project follows an organized architecture with separate folders for CRUD operations, login functionality, services, and reusable widgets.
lib/main.dart
- The entry point of the Flutter application.
lib/crud/
crud_controller.dart
- Handles CRUD operations.crud_view.dart
- UI implementation for CRUD features.
lib/login/
login_controller.dart
- Manages authentication logic.login_view.dart
- UI for user login.
lib/service/
firebase_service.dart
- Handles Firebase-related functionality.
lib/widgets/
- Contains reusable UI components.



Step 3.5 : Install CLI Firebase Firebase CLI






Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
runApp(const MyApp());
}
google_sign_in: ^6.2.2


To run the project, ensure you have Flutter installed and execute the following command:
flutter run
- Make sure to configure Firebase properly before running the app.
- If using custom fonts, ensure the font files are added to the
assets/fonts/
directory and defined inpubspec.yaml
.
Happy Coding! 🚀