progressFraction property
double
get
progressFraction
Implementation
double get progressFraction {
if (isMaxTier) return 1.0;
if (nextTierPoints == 0) return 0.0;
return (currentPoints / nextTierPoints!).clamp(0.0, 1.0);
}