Search⌘ K
AI Features

Project #2 Statement

Explore how to implement the repository pattern alongside the BLoC library using Cubits in Flutter. This lesson guides you through building an e-commerce grocery app that allows user account creation and cart management, employing flutter_bloc for UI state changes and integrating Firebase authentication.

We'll cover the following...

In this chapter, we’ll go through the repository pattern and how to implement it alongside the BLoC pattern.

Another thing that will be new is that we’ll implement this project using Cubits instead of Blocs. Both Cubits and Blocs serve the same purpose, but Cubits provide functions that we can call instead of the stream of events that we listen to in Blocs.

Description

In this chapter, we’ll be working on ...