sp property

double get sp

Calculates the sp (Scalable Pixel) depending on the device's screen size

Implementation

double get sp => this * (SizerUtil.width / 3) / 100;