Turn on sized_box_for_whitespace lint, fix instances. (#77099)

This commit is contained in:
Greg Spencer
2021-03-04 01:29:02 +00:00
committed by GitHub
parent 781eb13642
commit c6ef4c75d9
128 changed files with 1350 additions and 1367 deletions

View File

@@ -138,10 +138,10 @@ void main() {
Semantics(
label: 'This is not text',
container: true,
child: Container(
child: const SizedBox(
width: 200.0,
height: 200.0,
child: const Placeholder(),
child: Placeholder(),
),
),
));

View File

@@ -771,7 +771,7 @@ void main() {
home: Scaffold(
body: Column(
children: <Widget>[
Container(height: 200, child: ListView.builder(
SizedBox(height: 200, child: ListView.builder(
key: const Key('listView-a'),
itemCount: 50,
shrinkWrap: true,