Is there an existing issue for this?
Version
0.11.0
Description
I have created a designs system package which includes common UI widgets, used everywhere else in the app. Texts using custom fonts which reside in the design_system package and I must refer package name in the TextStyle, so the text will be loaded and rendered in the main app, otherwise it fallback to default font.
Now the issue is if I refer package name, Alchemist unable to load and render fonts for the goldens in the design_system package!
Steps to reproduce
Sample project
design_system.zip
1- Download sample app
2- Add the design_system package name in the Button widget text style,
3- run flutter test --update-goldens
Expected behavior
4- Expected to render the custom fonts, but just boxes are rendered instead of the text!
Screenshots
No response
Additional context and comments
No response
Is there an existing issue for this?
Version
0.11.0
Description
I have created a designs system package which includes common UI widgets, used everywhere else in the app. Texts using custom fonts which reside in the design_system package and I must refer package name in the
TextStyle, so the text will be loaded and rendered in the main app, otherwise it fallback to default font.Now the issue is if I refer package name, Alchemist unable to load and render fonts for the goldens in the design_system package!
Steps to reproduce
Sample project
design_system.zip
1- Download sample app
2- Add the design_system package name in the Button widget text style,
3- run
flutter test --update-goldensExpected behavior
4- Expected to render the custom fonts, but just boxes are rendered instead of the text!
Screenshots
No response
Additional context and comments
No response