flutter-todo-list-tutorial icon indicating copy to clipboard operation
flutter-todo-list-tutorial copied to clipboard

Route and Navigation

Open SimonLab opened this issue 5 years ago • 3 comments

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)

  • [x] Create a new route which display all the completed tasks
  • [x] Create a home route which allow the user to go back to the main page

SimonLab avatar Jan 27 '21 16:01 SimonLab

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

DarkMarksDoe avatar Feb 05 '21 01:02 DarkMarksDoe

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 avatar Feb 05 '21 11:02 SimonLab

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

SimonLab avatar Feb 24 '21 16:02 SimonLab