How is InheritedWidget different from provider?

If you use InheritedWidget in large application, build methods always rebuilds whole build method. But with Provider you have Consumer widget which is can be very specific to control specific blocks of build method, so you have more efficiency .

Sizin İçin Seçtik  Which method is called to Rerender the widget tree once state is changed?

Leave a Reply

Your email address will not be published. Required fields are marked *