Fix type error found by dartanalyzer --strong
We were declaring that the function passed to setState should return a Function. In reality, we want the function to return void (and everyone calls it with a function that returns void).
Showing
Please register or sign in to comment