isLastStep property
bool
get
isLastStep
Whether this is the last step
Implementation
bool get isLastStep => currentStep >= totalSteps - 1;
Whether this is the last step
bool get isLastStep => currentStep >= totalSteps - 1;