1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 06:48:26 +00:00

Upgrading samples to flutter_lints, part 1 of n (#804)

This commit is contained in:
Brett Morgan
2021-06-05 12:24:28 +10:00
committed by GitHub
parent 14921d0c06
commit 936d1fdaae
230 changed files with 2361 additions and 2444 deletions

View File

@@ -49,7 +49,7 @@ class VeggieHeadline extends StatelessWidget {
var widgets = <Widget>[];
for (var season in seasons) {
widgets.add(SizedBox(width: 4));
widgets.add(const SizedBox(width: 4));
widgets.add(
Container(
height: 10,
@@ -80,7 +80,7 @@ class VeggieHeadline extends StatelessWidget {
height: 72,
width: 72,
),
SizedBox(width: 8),
const SizedBox(width: 8),
Flexible(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,