height property
double?
get
height
Implementation
double? get height => _height?.get();
set
height
(dynamic v)
Implementation
set height(dynamic v) {
if (v != null) {
if (S.isPercentage(v)) {
_heightPercentage = S.toDouble(v.split("%")[0]);
v = null;
} else
_heightPercentage = null;
if (v != null && v.runtimeType == String && v.contains('%')) {
String s = v;
v = s.replaceAll('%', '000000');
}
if (_height == null)
_height = DoubleObservable(Binding.toKey(id, 'height'), v,
scope: scope, listener: onPropertyChange);
else if (v != null) _height!.set(v);
}
}