ref.exist(provider)
should be ref.read(provider.exists)
, to support ref.watch/listen
#3999
Labels
enhancement
New feature or request
A common
ref.exist
usage involves reacting to when theexist
state changes. But there's no way to do that today besides callingref.exist(provider)
at regular interval.We could instead make it a provider modifier, similar to
provider.future
:The text was updated successfully, but these errors were encountered: