dart / 1 / dart-html / dimension / dimension.percent.html

Dimension.percent constructor

Dimension.percent(num _value)

Set this CSS Dimension to a percentage value.

Source

Dimension.percent(this._value) : _unit = '%';

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Dimension/Dimension.percent.html