percent property

double? get percent

Implementation

double? get percent => _percent?.clamp(0, 1);