px static method
dynamic
px(
- dynamic number
Implementation
static px(number) {
if (!(_ratio is double || _ratio is int)) {
AdaptUtil.init(750);
}
return number * _ratio;
}
static px(number) {
if (!(_ratio is double || _ratio is int)) {
AdaptUtil.init(750);
}
return number * _ratio;
}