fraction property
double
get
fraction
Implementation
double get fraction => totalSteps == 0 ? 0 : _currentIndex / totalSteps;
double get fraction => totalSteps == 0 ? 0 : _currentIndex / totalSteps;