Wow, I made exactly the same assumption. I actually much prefer putting the setState(() {}) being the last line of a method now.

This makes much more sense to my brain as it tells me that it’s just there to ask for a visual rebuild, not to indicate that the variables wouldn’t be updated without that wrapping call.


GitHub-flavored Markdown & a sane subset of HTML is supported.