Dim.px constructor

const Dim.px(
  1. double? value, [
  2. bool important = false
])

Pixels unit.

Implementation

const Dim.px(this.value, [this.important = false]) : unit = 'px';