Member-only story
Building E-commerce app with Flutter bloc pattern-2
21 min readJun 16, 2024
Flutter bloc + Firebase
Welcome back everyone, In the previous module we have discussed the introductory part of this project, we have learned the basic theory about firebase authentication, cloud firestore, cubit, bloc. Now in this second module, we shall learn the following things:
- How to design the app theme?
- How to connect firebase with the flutter application?
- How to perform authentication using firebase?
- How to write the authentication state and event for firebase authentication?
- How to write bloc for authentication?
- How to perform form field error handling using bloc.
- How to design our UI?
- How to integrate the UI and bloc?
name: flutter_bloc_app
description: A new Flutter application.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.0
firebase_auth: ^1.1.0
cloud_firestore: ^1.0.5
equatable: ^2.0.3
google_fonts: ^2.1.0
flutter_bloc: ^7.0.0
firebase_core: ^1.0.3
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true