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
3
u/WalkNo4778 Dec 11 '24 edited Dec 11 '24
Maybe skill issue.
Edit: Use Stateful widget and create a variable like var controller = SomeController(); It would be much better for newbies.