Open katisari opened 4 years ago
Interestingly we are showing the height as zero in your screenshot although we are visualizing it like it is non-zero.
@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...
Steps to Reproduce
void main() { runApp(MyApp()); }
class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', home: Scaffold( appBar: AppBar( title: Text('Demo'), ), body: Column(children: [ Row( children: [ Text('hello'), VerticalDivider( thickness: 5.0, ), Text('Word'), ], ), ]), ), ); } }