apply upcoming lint prefer_const_literals_to_create_immutables (#14029)
This commit is contained in:
committed by
GitHub
parent
5dc4ce85d9
commit
0fe1e5bf5b
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user