You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
layout explorer needs to surface exceptions triggered by disallowed flex layouts #1650
I did something hacky related to this issue in src/inspector/flutter/layout_explorer/flex/flex.dart:661 by removing CrossAxisAlignment.baseline from CrossAxisAlignment options because it will throw exceptions when baseline is null.
If there are any additional pointers/ideas on how to solve this, I want to take this issue!
maybe catch exceptions within the service extensions and send the exception back as a message that you then display in the UI as a toast?
If you take this on, I would wait for #1682 to land as that CL makes it way easier to write the layout explorer service extensions as you get type checking and auto-complete!
For example, frequently main axis can't be set to a value other than center if textDirection is null as is often the case.