isLastStep method
Check if this is the last step
Implementation
bool isLastStep() {
final currentStep = getCurrentStep();
final totalSteps = getTotalSteps();
return currentStep >= totalSteps - 1;
}
Check if this is the last step
bool isLastStep() {
final currentStep = getCurrentStep();
final totalSteps = getTotalSteps();
return currentStep >= totalSteps - 1;
}