sp static method
Implementation
static double sp(dynamic sp) {
double screenWidth = AdaptiveUI.screenWidth;
return (sp / designWidth) * screenWidth;
}
static double sp(dynamic sp) {
double screenWidth = AdaptiveUI.screenWidth;
return (sp / designWidth) * screenWidth;
}