In this post we we’ll walk through implementing the database to store notes and favorite books.

I added a few classes, here is the overview (I highly encourage you to look into the Github https://github.com/Norbert515/BookSearch):

The book.dart is simply a model class containing title, url, id, starred and notes

Utils contains the fade Transition (Used in conjunction with hero transition)

The rest should be self explanatory

I also put BookCard into its own widget (inside main.dart).

The database is going to be implemented as to only store entries which are starred/ given a note. This way searching thorough books won’t clutter up the database.