implicit-casts:false in dev (#45787)

This commit is contained in:
Alexandre Ardhuin
2019-12-05 22:34:06 +01:00
committed by GitHub
parent fa0c49d775
commit ec1a015045
68 changed files with 411 additions and 396 deletions

View File

@@ -622,7 +622,7 @@ class PathMatcher extends Matcher {
if (item.runtimeType != actual.runtimeType)
return false;
final SvgPath other = item;
final SvgPath other = item as SvgPath;
if (other.id != actual.id || other.opacity != actual.opacity)
return false;
@@ -666,7 +666,7 @@ class PathAnimationMatcher extends Matcher {
if (item.runtimeType != expected.runtimeType)
return false;
final PathAnimation other = item;
final PathAnimation other = item as PathAnimation;
if (!const ListEquality<double>().equals(other.opacities, expected.opacities))
return false;