I have a design in Figma. it looks great. but when I try to use font values in flutter - Ihave a problem. Font size I choose on Figma the front end of the application is not rendering the same results for the naked eye.
For example, if I set 12px size of a text on Figma and set the same (12px) size on flutter's front end file then the generated results does not match; Flutter's app font sizes seems to be less than Figma screens, but their size in px are set as same.
This is example of my textStyle:
final textMedium = GoogleFonts.manrope(
textStyle: TextStyle(
fontWeight: FontWeight.w700,
fontStyle: FontStyle.normal,
fontSize: 12,
color: Colors.black
));
what could be the reason and how can I fix it? I need a "correction factor". any advice?