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

@@ -198,10 +198,10 @@ class MovableBall extends StatelessWidget {
child: const Center(child: Text('BALL')),
),
);
final Widget dashedBall = Container(
const Widget dashedBall = SizedBox(
width: kBallSize,
height: kBallSize,
child: const CustomPaint(
child: CustomPaint(
painter: DashOutlineCirclePainter()
),
);