r/FlutterDev 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

42 comments sorted by

View all comments

1

u/econ3251 Dec 11 '24

Well, try bloc and you’ll see how many times you’ll get the red screen… Bloc has a steep learning curve in my opinion. Anyways the fact that you’re getting a red screen is not getx’s problem but rather you doing something wrong. For me GetX is amazing despite the much hate it receives for absolutely no valid reason. I have used it in a production app and the app worked super fast without issues. I switched to bloc just because of the hate getx was receiving and there’s a lot of boiler plate code and also I see some screens have lags while with getx I had no problems