em property

Unit get em

Refers to the CSS em (font size) unit.

This is used to specify a length relative to the font size of the parent. For example, '2.em' is equal to twice the font size of the parent.

Implementation

Unit get em => Unit.em(toDouble());