isSameAs method
Returns true when this fill has the same visual fill options as other.
Implementation
@override
bool isSameAs(AnyFill? other) {
if (other == null) return false;
return color == other.color &&
gradient == other.gradient &&
image == other.image &&
blendMode == other.blendMode &&
isAntiAlias == other.isAntiAlias;
}