Dart SDK
dart:html
Dimension
Dimension.percent
Dimension.percent
Dart SDK
dart:html
Dimension
Dimension.percent
constructor
Dimension.percent
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.percent
(
num
_value
)
Set this CSS Dimension to a percentage
value
.
Source
Dimension.percent(this._value) : _unit = '%';