Fix a type mismatch in IconThemeData.operator==
This commit is contained in:
parent
4ab0720189
commit
8288769661
@ -12,7 +12,7 @@ class IconThemeData {
|
|||||||
if (other is! IconThemeData)
|
if (other is! IconThemeData)
|
||||||
return false;
|
return false;
|
||||||
final IconThemeData typedOther = other;
|
final IconThemeData typedOther = other;
|
||||||
return color == typedOther;
|
return color == typedOther.color;
|
||||||
}
|
}
|
||||||
|
|
||||||
int get hashCode => color.hashCode;
|
int get hashCode => color.hashCode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user