Search code examples
flutterflutter-provider

how to rebuild provider Selector but not rebuild child of them


I know Consumer can do it by passing child widget as parameter to a child of the builder, but I don't know in Selector this is some docs https://github.com/rrousselGit/provider#my-widget-rebuilds-too-often-what-can-i-do


Solution

  • Update. The selectors also have a child. and I can use it similar to Consumer.