Turn on sized_box_for_whitespace lint, fix instances. (#77099)
This commit is contained in:
@@ -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(),
|
||||
),
|
||||
),
|
||||
));
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user