dpr method Null safety

Dpr dpr(
  1. [dynamic dpr]
)

Deliver the image in the specified device pixel ratio.

dpr dynamic The DPR (Device Pixel Ratio). Any positive float value.

Implementation

static Dpr dpr([dynamic dpr]) {
  return Dpr(dpr);
}