Allow accessing phoenix via (global) key
Closed this issue · 2 comments
point-source commented
In the case that a developer is building an app with redux state management, he/she may want to call phoenix from an action which does not have clear access to widget context. In this case, it may be useful to access it via global key.
themightychris commented
I'm trying to call rebirth()
from a message handler under flutter_driver, and similarly don't have access to a build context there
MrLepage commented
Will add a key
parameter in the next version.