1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-07 20:21:51 +00:00

Adds analysis options to Veggie Seasons (#98)

This commit is contained in:
Andrew Brogdon
2019-07-01 10:26:50 -07:00
committed by GitHub
parent 2ec8cc3684
commit 4646f0fc8e
13 changed files with 65 additions and 42 deletions

View File

@@ -69,12 +69,12 @@ class _ColorChangingIconState
}
@override
void forEachTween(visitor) {
void forEachTween(TweenVisitor<dynamic> visitor) {
_colorTween = visitor(
_colorTween,
widget.color,
(dynamic value) => ColorTween(begin: value),
);
(dynamic value) => ColorTween(begin: value as Color),
) as ColorTween;
}
}