My try and catch is not working the catch func is not handling the error, I have copied the same code recommended by google to use firebase for authentication but it's not working:
I am expecting my catch func to handle the firebase auth exception errors thrown by the try block
This is something that VSCODE is doing
you can untick the "Uncaught Exceptions" box under "Breakpoints" on the left
i think its a replicated question, the answer is available here: Dart / Flutter - Debugger stops on caught exceptions