Update: If i’m using a default Flutter Font it works as expected, so the error only occurs with imported fonts.
As you can see in the two pictures below, tabularFigures()
is working in Chrome on PC as expected but in the Browser of mobile devices (e.g. Safari) it doesn’t work. I’m using the custom font “Outfit”. Is there a way to fix this bug or is there a workaround?
SizedBox(
width: 60,
child: Align(
alignment: Alignment.centerRight,
child: Text(
score(),
style: TextStyle(
color: ThemeColorStyles.selectedTheme.kPrimaryFontColor,
fontSize: 14,
fontWeight: FontWeight.normal,
fontFeatures: const [
FontFeature.tabularFigures(),
],
),
),
),
);
Expected: (In Chrome on PC)
Instead: (Safari on iPhone)
New contributor
koenigmarcel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.