dp method

double dp(
  1. double value, [
  2. DimensionScaleMode? scaleMode
])

Implementation

double dp(double value, [DimensionScaleMode? scaleMode]) {
  return diagonal(this, value, scaleMode);
}