title | version | revision |
---|---|---|
Figma line-height |
0.1.0 |
1 |
figma line-height is separated into three parts: px, %, and auto. auto is the default set when the user does not set line-height.
auto
If it is auto, it is not specified because it is the default.
line-height
/* px */
line-height: 10px;
/* % */
line-height: 10%;
Text(
'Hi!\nWe are Grida!',
style: TextStyle(height: 1),
);