Closed opsb closed 6 months ago
Currently it's possible using
Ohh, definitely don't use onNextUpdate
. Of all the experimental APIs I've exposed, that one is the most dangerous to use. That one is designed exclusively for interop with flutter_rearch
because the .listen()
method has a few quirks if you try to use it to build a changing UI.
As @busslina pointed out, check out #125. That is the way I'd recommend to handle this.
warmupToWidget is really helpful for setting up widgets but there doesn't appear to be an equivalent when using CapsuleContainer s directly. When writing tests against the CapsuleContainer (instead of a widget test with RearchBootstrapper) it would be helpful if you could wait on capsules to be ready e.g.
Currently it's possible using
but it would be good to have an official way to do it.