isLastStep property

bool get isLastStep

Whether this is the last step

Implementation

bool get isLastStep => totalSteps > 0 && currentStep >= totalSteps - 1;