apply upcoming lint prefer_const_literals_to_create_immutables (#14029)

This commit is contained in:
Alexandre Ardhuin
2018-01-11 08:38:55 +01:00
committed by GitHub
parent 5dc4ce85d9
commit 0fe1e5bf5b
63 changed files with 436 additions and 432 deletions

View File

@@ -347,8 +347,8 @@ class CardCollectionState extends State<CardCollection> {
return new LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: <Color>[const Color(0x00FFFFFF), const Color(0xFFFFFFFF)],
stops: <double>[0.1, 0.35],
colors: const <Color>[const Color(0x00FFFFFF), const Color(0xFFFFFFFF)],
stops: const <double>[0.1, 0.35],
)
.createShader(bounds);
}