You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In platform tests (and I suspect CI tests as well), if a Text is built but no default text style font family is found, it looks like "Ahem" is used as a fallback value, instead of "Roboto".
Steps to reproduce
Run a golden test and provide it a Theme with a textButtonTheme. Assign the style of this theme to TextButton.styleFrom. Provide this constructor an empty TextStyle.
Set this as the default theme in the AlchemistConfig or PlatformGoldensConfig.
Run the test.
Expected behavior
Default to "Roboto" when no font family is found.
Screenshots
Additional context and comments
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Version
0.3.3
Description
Reproducible example gist can be found here.
In platform tests (and I suspect CI tests as well), if a
Text
is built but no default text style font family is found, it looks like "Ahem" is used as a fallback value, instead of "Roboto".Steps to reproduce
Theme
with atextButtonTheme
. Assign thestyle
of this theme toTextButton.styleFrom
. Provide this constructor an emptyTextStyle
.AlchemistConfig
orPlatformGoldensConfig
.Expected behavior
Default to "Roboto" when no font family is found.
Screenshots
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: