Enable sized_box_shrink_expand lint (#117371)

* Enable  lint

* note about discarded_futures

* note about use_decorated_box

* update note on require_trailing_commas
This commit is contained in:
Michael Goderbauer
2022-12-20 11:07:15 -08:00
committed by GitHub
parent 8289ea624e
commit fa3777bd3e
19 changed files with 52 additions and 156 deletions

View File

@@ -1150,9 +1150,7 @@ void main() {
home: Material(
child: Column(children: const<Widget> [
Text('Hello ', key: Key('widgetOne')),
SizedBox(
height: 0,
width: 0,
SizedBox.shrink(
child: Text('World!', key: Key('widgetTwo')),
),
]),