Fix newly reported prefer_const_constructors lints. (#54176)
This commit is contained in:
committed by
GitHub
parent
ba18e99d1b
commit
b0492cc976
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user