14Adding the Firebase and Firestore Backend


  • 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 and BottomAppBar look and feel by using the BoxDecoration and LinearGradient 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.