Hello,
I have read 2 books.
- Real World Flutter by Tutorials (uses Hive)
- Flutter Apprentice (uses SQLite)
In Flutter Apprentice, the database part is managed using a Singleton Helper class whereas in Real World Flutter by Tutorials, we are using a package to initialize the database but the actual database operations are wide-spread into the other packages.
Was this decision taken considering the package based architecture used in Real World Flutter book?
Or was there any other reason that I am missing?
Or one is a preferred approach based on the database type being used?