Turn on sized_box_for_whitespace lint, fix instances. (#77099)
This commit is contained in:
@@ -20,7 +20,7 @@ Future<void> main() async {
|
||||
key: const Key('ImageList'),
|
||||
itemCount: numItems,
|
||||
itemBuilder: (BuildContext context, int position) {
|
||||
return Container(
|
||||
return SizedBox(
|
||||
width: 200,
|
||||
height: 200,
|
||||
child: Center(
|
||||
|
||||
Reference in New Issue
Block a user