Dim.em constructor

const Dim.em(
  1. double value
)

Dimension relative to the font size of the parent element.

Implementation

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