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