ShadyBoukhary/flutter_clean_architecture

How correctly get BuildContext from controller?

Closed this issue · 1 comments

For navigation I need get BuildContext from Controller.

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