The habit tracking app is only useful if we can save the tasks' data on some form of storage.
Before we can code anything, we need to answer some questions:
This section will focus entirely on local data storage with Hive.
The next section will focus on state management with Riverpod.
We will use Hive & Riverpod, but the data & storage requirements of our app are relatively simple.
So we could choose different packages if we wanted to (as long as we go with something stable and battle-tested).
What does matter is that we structure our application following some important coding principles.
We'll ensure a good separation of concerns so that:
Benefits:
0 comments