Commit 6d2a6ff7 authored by Adam Barth's avatar Adam Barth

Merge pull request #2322 from abarth/analyzer_fix

Fix analyzer warning
parents af6526f9 3d2e46ac
......@@ -392,12 +392,12 @@ class CardCollectionState extends State<CardCollection> {
Shader _createShader(Rect bounds) {
return new LinearGradient(
begin: bounds.topLeft,
end: bounds.bottomLeft,
begin: const Offset(0.0, 0.0),
end: const Offset(0.0, 1.0),
colors: <Color>[const Color(0x00FFFFFF), const Color(0xFFFFFFFF)],
stops: <double>[0.1, 0.35]
)
.createShader();
.createShader(bounds);
}
Widget build(BuildContext context) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment