Using BuildContext as static parameter in App

Viewed 21

I think to use BuildContext as static parameter in App but i never see someone to use it like that. That's why i am doubt to use it. Do you think is it bad idea ?

1 Answers

Context is not something that is constant in all app.It is changing in every page and every state of that page, so you can define it as static value.

Related