delta property
double?
get
delta
Brightness percentage of full-scale increase delta to current dim level.
Clip at Max-level or Min-level.
Throws PercentageException if delta
is set to something outside of the
range 0 to 100 (inclusive).
Implementation
double? get delta => _delta;
set
delta
(double? delta)
Implementation
set delta(double? delta) {
if (delta == null || Validators.isValidPercentage(delta)) {
_delta = delta;
} else {
throw PercentageException.withValue(delta);
}
}