flutterErrors property
What the framework caught while building, laying out or painting: the engine substitutes its error box and carries on, so without this list a throwing builder would render as a clean-looking success.
Implementation
final flutterErrors = <FlutterErrorDetails>[];