Line height
Apply line height to text with rapid
How to apply line height to text
To apply text line height to text you need to use the following pattern leading-[range]
Here is an example
RapidText(
text: "Demo",
styles: "leading-snug",
);
RapidText(
text: "Demo",
styles: "leading-relaxed",
);
Accepted line heights
leading-3leading-4leading-5leading-6leading-7leading-8leading-9leading-10leading-noneleading-tightleading-snugleading-normalleading-relaxedleading-loose