DefaultWebGoldenComparator class Null safety

An unsupported WebGoldenComparator that exists for API compatibility.

Inheritance

Constructors

DefaultWebGoldenComparator()

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

compare(double width, double height, Uri golden) → Future<bool>
Compares the rendered pixels of size widthxheight that is being rendered on the top left of the screen against the golden file identified by golden.
override
getTestUri(Uri key, int? version) → Uri
Returns a new golden file Uri to incorporate any version number with the key.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(double width, double height, Uri golden) → Future<void>
Updates the golden file identified by golden with rendered pixels of widthxheight.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited