Pre-Requirements

dependencies:
golden_toolkit: ^0.8.0
# don't check in golden failure output
**/failures/*.png

Goldens Configuration

flutter test --update-goldens --name=Golden

Golden Test Set-Up

flutter test --update-goldens
flutter test --update-goldens

Goldens How they Work

flutter test --update-goldens

Conclusion

Resources

About Fred Grott

Flutter Cross Platform Mobile App Design https://fred.grott.gitlab.io/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store