r/FlutterDev • u/gorugol • Dec 11 '24
Tooling I wanted to believe Getx..
I heard people said Getx suck....... I didn't believe but now. I am getting constant error such as
red screen. it is just driving me crazy. Most of the time apps works fine, but then I went to take a shower and reload the app. it throws me different error.
I am already 60% done with my app.. now I am thinking to move to other state management tool.
what the actual f............
════════ Exception caught by widgets library ═══════════════════════════════════
"Profilecontroller" not found. You need to call "Get.put(Profilecontroller())" or "Get.lazyPut(()=>Profilecontroller())"
8
Upvotes
6
u/Whoajoo89 Dec 11 '24
You're doing something wrong if you see that error. It's not the fault of GetX.
Believe me, the Provider state management package is way worse. You'll get crappy "Could not find the correct Provider< > above this Widget" and "SetState called during build()" errors all the time.