Dim constructor

const Dim(
  1. double? value, {
  2. String unit = '',
  3. bool important = false,
})

Creates a new dimension with optional unit and important flag.

Implementation

const Dim(
  this.value, {
  this.unit = '',
  this.important = false,
});