Link to the repository
[Only for premium members]
[Only for premium members]
If we look at our categories_list.dart file - it is getting a bit long. So let's make this lesson about refactoring some code into separate files. Here's what we will do:
Model into its own fileThese actions will set us up for a more modular and maintainable codebase.
Let's start by moving our simplest code - the Category model. Create a new...