MatchesGoldenFileWithPixelAllowance.forStringPath constructor

MatchesGoldenFileWithPixelAllowance.forStringPath(
  1. String path,
  2. int _maxPixelMismatchCount, [
  3. int? version
])

Creates a MatchesGoldenFileWithPixelAllowance that looks for a golden file at the relative path.

The path should be relative to the executing test's directory, e.g., "goldens/my-golden-name.png".

Implementation

MatchesGoldenFileWithPixelAllowance.forStringPath(String path, this._maxPixelMismatchCount, [int? version])
    : super.forStringPath(path, version);