'Calculate Adobe XD text size and implement in Flutter text widget

I have a design in adobe xd where a text size is 40px according to adobe xd but if i use this 40px in flutter text widget then it shows a big difference. So do i how calculate the adobe xd text size pixel in flutter text widget?



Solution 1:[1]

This happen because every screen has different screen size so u have to use something which can be reponsive and that can be fit in every different screen size

you can use screen utils in this case screen utils

OR

u can use media query also media query

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dipak Ramoliya