dp method

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

Implementation

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