mirror of
https://github.com/flutter/samples.git
synced 2026-04-07 12:14:27 +00:00
Adds analysis options to Veggie Seasons (#98)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user