Review Readme
The current readme can be updated to make it more biginner friendly and easier to follow code:
- Add source code of project to allow people to run the project and to refer to the parts of code mentioned in the Readme, see #12
- Remove the MOOR section, see also #15
- [ ] Read the persistence documentation: https://flutter.dev/docs/cookbook/persistence/sqlite
- [x] Read the state management documentation: https://flutter.dev/docs/development/data-and-backend/state-mgmt
- Research widgets that can be used instead of creating custom ones: https://flutter.dev/docs/reference/widgets
- Add tests to the project to make sure the todolist is working properly
The flutter documentation contains all the information that we need to know how to create the todolist. However it can take a bit of time to test everything. I'll write a recap of the section we are using on this project. The cookbook section contains some code example which can also help us to create the todolist
I managed to create a simple todolist application from scratch:
The application is simple for now and I'm sure we will add some features. However the simple structure helps to understand the basic components of Flutter. I'm now currently updating the Readme to explain the concepts used and how to recreate the application.
I'll iterate on the Readme and add other sectionw soon:
- Add specific tests for the Widgets: https://flutter.dev/docs/testing
- Add persistance with shared preferences (we can use a database later on if necessary): https://pub.dev/packages/shared_preferences https://flutter.dev/docs/development/data-and-backend/json
- Update UIs: add spaces and theme colors especially on the TextField input.
I am currently still reviewing the Readme and adding documentation on how to recreate the todolist, see https://github.com/dwyl/flutter-todo-list-tutorial/tree/simple-todolist-%2316
I noticed that I need to add more beginner friendly instructions and a step by step guide with code in the Readme. Once the application can be recreated easily I'll move on to describe the different ways to persist the items: #18