How correctly get BuildContext from controller?
Closed this issue · 1 comments
vadimlukutin commented
For navigation I need get BuildContext from Controller.
rafaelcmm commented
Hi @vadimlukutin!
You can get access of BuildContext
using Controller's method getContext()
.
It can be used in most of the Controller
lifecycles.
Hope this answers your question, feel free to re-open this issue if you need