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  How do I notify widgets in Flutter?

Leave a Reply

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