15
Adding State Management to the Firestore Client App
WHAT YOU WILL LEARN IN THIS CHAPTER
- How to use state management to control Firebase Authentication and the Cloud Firestore database
- How to use the BLoC pattern to separate business logic
- How to use the
InheritedWidget
class as a provider to manage and pass state - How to implement
abstract
classes - How to use
StreamBuilder
to receive the latest data from Firebase Authentication and the Cloud Firestore database - How to use
StreamController
,Stream
, andSink
to handle Firebase Authentication and Cloud Firestore data events - How to create service classes to handle Firebase Authentication and Cloud Firestore API calls with
Stream
andFuture
classes - How to create a model class for individual journal entries and convert Cloud Firestore
QuerySnapshot
and map it to theJournal
class - How to use the optional Firestore Transaction to save data to the Firestore database
- How to create a class to handle mood icons, descriptions, and rotation
- How to...