dp static method

double dp(
  1. num densityPixel
)

Implementation

static double dp(num densityPixel) => densityPixel.dp;