UniformValue constructor
const
UniformValue({})
Implementation
const UniformValue({
required this.defaultValue,
required this.min,
required this.max,
required this.value,
}) : assert(min <= max, 'min must be less than or equal to max'),
assert(defaultValue >= min && defaultValue <= max,
'defaultValue must be between min and max'),
assert(value >= min && value <= max, 'value must be between min and max');