Member-only story

Flutter App Exception Catching That Does Not Suck

Fred Grott
2 min readOct 27, 2023

Obviously, if we use the SDK way to catcher Flutter app exceptions, it will suck in the form of display and other useful features. Let me show you a better way.

The SDK App Exception Catching Sucking Way

This is the way the Flutter SDK offers to catch flutter app exceptions:

My example is different, as the Flutter Docs here are wrong:

As the handler class is needed to make that solution work!

What is needed is a better display for the app user and a better framework for plugging into backends and third party services. Catcher library has not been updated in awhile but a person in the flutter community stepped in and created a Catcher 2 library that is updated.

Catcher 2 Set Up And

--

--

Fred Grott
Fred Grott

No responses yet