dp property
double
get
dp
Converts the value to density-independent pixels (dp) for consistent sizing across devices.
Implementation
double get dp => this * (pw * 160) / OrkittScreenUtils.pixelRatio;
Converts the value to density-independent pixels (dp) for consistent sizing across devices.
double get dp => this * (pw * 160) / OrkittScreenUtils.pixelRatio;