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 not displaying accurate height of Widget in visualizer #2175
Expected results:
Nothing shows on Layout Explorer screen since adding CrossAxisAlginment.Stretch to the Row widget will create an error. Actual results:
VerticalDivider increases in height in the Layout Explorer visualizer, but the actual height remains 0.
changed the title [-]Layout Explorer not showing the actual height of Widget[/-][+]Layout Explorer not displaying accurate height of Widget in visualizer[/+]on Jun 20, 2020
@jacob314 because of the early design and decision on the scaling algorithm in Layout Explorer, we will always try to display and visualize a zero width/height on the Layout Explorer. But yes this is indeed a bug on the visualization widget. In this case the Layout Explorer should not have visualized the Text and VerticalDivider height equally...
Activity
[-]Layout Explorer not showing the actual height of Widget[/-][+]Layout Explorer not displaying accurate height of Widget in visualizer[/+]TahaTesser commentedon Jun 22, 2020
flutter doctor -v
jacob314 commentedon Jul 15, 2020
Interestingly we are showing the height as zero in your screenshot although we are visualizing it like it is non-zero.
albertusdev commentedon Jul 19, 2020
@jacob314 because of the early design and decision on the scaling algorithm in Layout Explorer, we will always try to display and visualize a zero width/height on the Layout Explorer. But yes this is indeed a bug on the visualization widget. In this case the Layout Explorer should not have visualized the
TextandVerticalDividerheight equally...