as usual, we use dp for Android and pt(point) for ios as a unit of measurement.
1 pt = 1/72 inch
1 dp = 1/160 inch
But i don\'t what is unit of measu
It all breaks down to device pixel ratio. For instance:
var pixelRatio = MediaQuery.of(context).devicePixelRatio; // 2
And say you're using SizedBox with height: 10, like:
SizedBox
height: 10
SizedBox(height: 10);
That means your SizedBox would be 2 * 10 = 20dp tall on that device.
2 * 10 = 20dp