progress property

double get progress

Implementation

double get progress => totalHeight > 0 ? currentHeight / totalHeight : 0;