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