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
Here because of the way the height in flutter for textStyle works is like (height x fontSize). Because of this issue each line's height becomes very big making textStyle tokens unusable, while the similar token works for web because there its height is in pixels but with flutter its different, here is directly multiplies with the fontSize.
Please fix this if possible
Thank You
The text was updated successfully, but these errors were encountered:
ℹ️ Info
Flutter Version:
v3.16.5
Package Version :
0.2.0-alpha
💬 Line height issue with Figma Tokens.
This is a example of a textstyle token generated
TextStyle get m3BodyLarge => const TextStyle(
fontFamily: 'Roboto',
fontSize: 16.0,
fontWeight: FontWeight.w400,
height: 24.0,
letterSpacing: 0.5,
);
Here because of the way the height in flutter for textStyle works is like (height x fontSize). Because of this issue each line's height becomes very big making textStyle tokens unusable, while the similar token works for web because there its height is in pixels but with flutter its different, here is directly multiplies with the fontSize.
Please fix this if possible
Thank You
The text was updated successfully, but these errors were encountered: