Fred’s Flutter Newsletter

Fred’s Flutter Newsletter

A Bit Of Flutter Engineering Mocking Outside Tests

Mocking Dynamic Color

Fred Grott's avatar
Fred Grott
Nov 01, 2024
∙ Paid
1
1
Share

Want to re-use your custom color scheme and themedata customization in the wrappers you need to unit test and golden test widgets. Then you need to re-write the dynamic color builder with the idea that you need to mock outside of the tests.

Keep reading with a 7-day free trial

Subscribe to Fred’s Flutter Newsletter to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Fred Grott
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture