Answers for "line height figma flutter"

0

line height figma flutter

// When height is non-null, the line height of the span of text will be a multiple of fontSize and be exactly fontSize * height logical pixels tall.
TextStyle(
      fontSize: 20.0,
      height: 1.2, 
      // Figma's line height: fontSize * height = 24
);
Posted by: Guest on March-14-2022
0

line height figma flutter

TextStyle(
      fontSize: 20.0,
      height: 1.2, 
      // Figma line height: fontSize * height = 24
);
Posted by: Guest on March-14-2022

Browse Popular Code Answers by Language