Open MizukiAsakura opened 4 years ago
it's still having this issue in golden_toolkit: 0.15.0
.
not only labelStyle
but also unselectedLabelStyle
.
if adding a widget in the TabBar, for example, the Badge
widget, the text in Badge
will also get the same issue.
I have the same issue when I apply a TextStyle to the AppBarTheme. In a golden the title stays black.
var appBarTheme = AppBarTheme(
titleTextStyle: textTheme.titleLarge?.merge(TextStyle(color: colorScheme.onSurface)),
surfaceTintColor: colorScheme.onSurface,
scrolledUnderElevation: 1,
shadowColor: colorScheme.outlineVariant);
Hello,
Font of text label in tabBar widget are not loaded when I attempt to golden test a widget with a style applied on tabBar labels.
Here the widget I attempt to test :
When I add a value to the
labelStyle
parameter, the font of the tab labels are not loaded exactly as the load font issue #31 . And when any label style is specified, everything works fine.In addition, adding style in the
Text
widget into theTabBar
does not cause any issue. Seems thelabelStyle
parameter cause this issue. The others TabBar parameters work fine.