dwyl / flutter-todo-list-tutorial

✅ A detailed example/tutorial building a cross-platform Todo List App using Flutter 🦋
GNU General Public License v2.0
93 stars 9 forks source link

Route and Navigation #25

Open SimonLab opened 3 years ago

SimonLab commented 3 years ago

At the moment the application only contains one screen. To be able to display different content (e.g. all completed tasks) we can use routes and navigation system. The current documentation linked to the following article https://medium.com/flutter/learning-flutters-new-navigation-and-routing-system-7c9068155ade as the routing system has been updated recently (see https://flutter.dev/docs/development/ui/navigation)

DarkMarksDoe commented 3 years ago

I could help and do some tests with routes, can we have contact for collab in the app?

SimonLab commented 3 years ago

Hi @DarkMarksDoe and thank you for your comment. I've started to add some tests on the following PR: https://github.com/dwyl/flutter-todo-list-tutorial/pull/17 If you look at the test folder you can find some unit and widget tests. On the integration_test folder you can find one integration test. I've also added the coverage_script.bash script to be able to see the coverage for all the existing dart files. I'm sure these tests can be improved and new ones can be added. Some tests' description can also be updated. The tests are running on Github with Github actions. The actions are configured with the .github/workflows/ci.yml file.

SimonLab commented 3 years ago

The "checked" icon on the right top corner when tapped will open the screen of the completed items.