14Adding the Firebase and Firestore Backend
WHAT YOU WILL LEARN IN THIS CHAPTER
- How to create a Firebase project
- How to register the iOS and Android projects to use Firebase
- How to add a Cloud Firestore database
- How to structure and create a data model for the Cloud Firestore database
- How to enable and add Firebase authentication
- How to create Firestore security rules
- How to create the Flutter client app base structure
- How to add Firebase to iOS and how to add the Android projects with the Google service files
- How to add the Firebase and Cloud Firestore packages
- How to add the
intl
package to format dates - How to customize the
AppBar
andBottomAppBar
look and feel by using theBoxDecoration
andLinearGradient
widgets
In this chapter, in Chapter 15, and in Chapter 16, you'll use techniques that you have learned in previous chapters along with new concepts and tie them together to create a production‐level mood‐journaling app. In the previous chapters, you created many projects that taught you different ways to implement specific tasks and objectives. In a production‐level app, you need to combine what you have learned to improve performance by redrawing only the widgets with data changes, pass state between pages and up the widget tree, handle the user authentication credentials, sync data between devices and the cloud, and create classes that handle platform‐independent logic between mobile and web apps.
Because Google has open‐sourced Flutter support for desktop and web apps, ...
Get Beginning Flutter now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.