Dart SDK
dart:html
Dimension
Dimension.cm
Dimension.cm
Dart SDK
dart:html
Dimension
Dimension.cm
constructor
Dimension.cm
Source
Dart SDK
dart:html
Dimension
Constructors
cm
css
em
ex
inch
mm
pc
percent
pt
px
Properties
value
hashCode
runtimeType
Operators
operator ==
Methods
toString
noSuchMethod
Dimension.cm
(
num
_value
)
Set this CSS Dimension to a centimeter
value
.
Source
Dimension
.
cm
(
this
.
_value
)
:
_unit
=
'cm'
;