Simon
                                            Simon
                                        
                                    @nelsonic I don't think it should take too long to add and it can be nice to see the API used with Flutter
I've started to change the code to use Riverpod (see #28). Creating Riverpod providers for the todolist itself work however I haven't managed to create providers for the items (too...
Providers: Objects that contains value that can be listen to. When the values change the providers will notify the listening widgets. Different providers exist to be able to listen to...
the `initState` method is defined in the `StatefullWidget` abstract class. It is called the first time the widget is added to the widget tree. We can override this method in...
To save the tasks list on disk we need to serialise it first. Our models are quiet small at the moment so we can't manually create the fromJson contructor and...
At the moment I have the following code which get the tasks from the shared preferences via an async function and I call this function in the `initSate` method: ```dart...
If the async function returns `Future` it is then possible to use it in `initState`. The async function takes care then of assigning the value using `setState`: ```dart Future getTasksFromSharedPrefs()...
With the latest commit: https://github.com/dwyl/flutter-todo-list-tutorial/pull/17/commits/9cb1ee21dd2200bf238ae2670d02a17de62b5791 I'm now able to save new created task using sharedpreferences and also able to retrieve the list of tasks created when the application is opened....
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...
The "checked" icon on the right top corner when tapped will open the screen of the completed items.