I am trying to find a best practice for using some casual data.
For example, I have seen in some videos (for example this one), people storing their size at the beginning of their page and sending it as a parameter for every stateless widget they have.
Size size = MediaQuery.of(context).size;
Is it better for the performances (even if it's a really little) to do like this or is it better to access it every time via MediaQuery.of(context).size ?
