getx icon indicating copy to clipboard operation
getx copied to clipboard

When using a project with Getx, get.context is checked for null.

Open chinggu88 opened this issue 1 year ago • 1 comments

스크린샷 2024-02-08 오전 9 12 16 simple source code 스크린샷 2024-02-08 오전 9 18 25 console.log screen

how to solve?

chinggu88 avatar Feb 08 '24 00:02 chinggu88

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.

jonataslaw avatar Feb 09 '24 20:02 jonataslaw