Nihad Delic
Feb 2, 2021

--

Hi, yes agree absolutely, but the thing why this is recommended is because if you are using BuildContext to reach something, so in case that you described, engine will not rebuild everything (if something has changed), it will rebuild only particular widget.

Because this article is not about performances, and because I wanted to make it as simple as possible I've wrote it in this way.

Anyhow, I'm planning to create some article about refactoring a code to make it more "performant". Surely, there is a few tips & tricks how to achieve better performances, lets say how to reduce number of variables and use constants.

Thank you for you comment.

--

--

Nihad Delic
Nihad Delic

Written by Nihad Delic

Software developer / Klar fintech / Flutter Dev

No responses yet