"A RenderObject does not have any constraints before it has been laid out." Exception when opening the Flutter Widget Inspector in VS Code

Viewed 362

I get this exception

StateError('A RenderObject does not have any constraints before it has been laid out.');

but only when I open the SelectWidgetMode in VS Code or selecting a widget from the widget tree in the Widget Inspector

It seems to be VS Code specific problem, bc in Android Studio everything works fine

It seems to be related with "All Exceptions" check in the Breakpoints panel

https://github.com/flutter/flutter/issues/75596

0 Answers
Related