sp property
double
get
sp
Calculates the sp (Scalable Pixel) depending on the device's pixel density and aspect ratio
Implementation
double get sp => this * (((h + w) + (Device.pixelRatio * Device.aspectRatio)) / 2.08) / 100;