Hello, I am a Flutter developer and I recently tried out the developer mode in Figma. In other languages, text height usually means the the height of the text component, but in Flutter, text height has a different dynamic. To implement the height given as a figma component one must set TextStyle as the following
style : TextStyle(
height : (height given in figma design) / (font size)
For example, if the deisgn of a text has height of 20, and a font size of 16,
height : 20/16
It’s a small tweak, but I hope it helps!