Fix newly reported prefer_const_constructors lints. (#54176)

This commit is contained in:
Konstantin Scheglov
2020-04-07 08:59:01 -07:00
committed by GitHub
parent ba18e99d1b
commit b0492cc976
11 changed files with 15 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
void main() {
runApp(
DecoratedBox(
decoration: BoxDecoration(color: Colors.white),
decoration: const BoxDecoration(color: Colors.white),
child: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,