This is a tiny standalone Flutter app with one golden test for comparing image output across two macOS versions.
From this directory:
flutter test --update-goldens test/golden/sample_golden_test.dartThe generated image will be:
test/golden/goldens/sample_golden_card.png
Run the command above on both macOS versions, then compare:
shasum -a 256 test/golden/goldens/sample_golden_card.pngIf the hashes differ, you can also diff the files visually or compare them with:
git diff --no-index \
/path/to/macos-old/sample_golden_card.png \
/path/to/macos-new/sample_golden_card.pngA new Flutter project.