The question is how to prevent calls that compute data in build.
Example (a simplistic one)
for (var map in something)
...
child: Row(
children: [
Text(getActualDate(map['days'])),
Text(getActualDate(map['days']))
],
),
...
Here the getActualDate function has been called and the result available. How can I save and reuse that result and not call getActualDate again?
Solution 1: BJW
By using state management, like provider