getx
getx copied to clipboard
When using a project with Getx, get.context is checked for null.
how to solve?
There is no Get.context before GetMaterialApp. runApp will build your widget three, so, create the context of each widget. it is not possible to use context before runApp.