when using the provider package in flutter ,you can warp the scaffold with a consumer but then on every notifylisteners call the whole screen will rebuild so I used consumer only for the widgets that depend on the provider, but I was told that doing so will create multiple listeners which will affect performance, so my question is:
Does using multiple consumers on the same screen affect the performance? if yes then how can I avoid unnecessary rebuilds? if the answer is to use the child parameter in the consumer then how can I mark multiple widgets so that they won't rebuild? as the child parameter only offers one widget to be marked.
another question :
when using notifylisteners all the corresponding consumers are triggered to rebuild is there is a way to rebuild only specific consumers?.