Skip to content
Get started
Menu
Get started

Step indicator

Show the host-defined checkout sequence and its current step. Use Task list for KYC tasks with nested document progress.

Order, review and pay progress at each of the three steps.Order, review and pay progress at each of the three steps.
Light and dark variants
example/lib/screens/gallery_kit.dart
PaymentStepIndicator(steps: steps, current: _step);

Variants: current step in a host-defined sequence.

Situation Variant / composition Payment example
Merchant checkout steps current step Pass current and steps from the host; the indicator never advances itself.

Use Task list for nested KYC progress.

The host supplies current progress. Completed and upcoming steps remain readable; the widget does not navigate or infer completion.

Do: Pass current and steps from the host; the indicator never advances itself.

Don’t: Use it as an automatic payment-state machine.

Use short step names that describe the checkout sequence. Do not mark a step complete before the host reports completion.

Step labels and the current step communicate progress without relying on color.

PaymentStepIndicator

class PaymentStepIndicator extends StatelessWidget · lib/src/payment/payment_extras.dart

Where the customer is in a multi-step flow.

The bars are a visual aid; screen readers hear "Step 2 of 4: Checkout".

ParameterTypeDefaultDescription
steps:requiredList<String>——
current:requiredint—Zero-based index of the active step.