Dim.px constructor

const Dim.px(
  1. double value
)

Dimension in Pixels.

Implementation

const Dim.px(double value) : this(value, unit: 'px');