maxWidth property
double?
get
maxWidth
Implementation
double? get maxWidth => _maxWidth?.get();
set
maxWidth
(dynamic v)
Implementation
set maxWidth(dynamic v)
{
if (v != null)
{
if (S.isPercentage(v))
{
_maxWidthPercentage = S.toDouble(v.split("%")[0]);
v = null;
}
else {
_maxWidthPercentage = null;
}
if (_maxWidth == null) {
_maxWidth = DoubleObservable(Binding.toKey(id, 'maxwidth'), v, scope: scope, listener: onPropertyChange);
} else if (v != null) {
_maxWidth!.set(v);
}
}
}