flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.59k stars 329 forks source link

FEAT(`show-guidelines`): provide numeric values for overlay guidelines #3453

Open om-ha opened 3 years ago

om-ha commented 3 years ago

We have show-guidelines, which is a superb feature on its own.

Improvement (what?)

However on top of this feature. What could be even better is the ability to toggle display of numeric values of the overlay lines themselves. This numeric value would show within the flutter app overlay and not editor.

Motivation (why?)

This helps a lot as it guides the app developer to understand if the computed runtime constraints/width/height/spacers do actually match the UI file provided by the app designer.

As most of the times, there is a designer who provides UI for the developer to follow via apps/services such as AdobeXD, Figma, Zeplin, InVision, Adobe Illustrator, and the list goes on. (not affiliated with any)

Developer-Facing Interaction (how?)

This toggle could happen:

om-ha commented 3 years ago

What guidelines overlay show

show_guidelines_cramped_lines

Actual UI design program

show_guidelines_cramped_lines_ui

Challenges

1. Cramped Space

2. Overlapped lines