CssValue constructor

const CssValue(
  1. num number, [
  2. String unit = 'px'
])

Creates a new CssValue.

If no unit is specified, 'px' is used instead.

Implementation

const CssValue(this.number, [this.unit = 'px']);