Multi-Node Progress

Multi-Node Progress

The Multi-Node Progress component visualizes a process as a series of discrete steps or dots. It is ideal for Order Tracking (e.g., Ordered -> Cooking -> Delivered) or Stepped Wizards.

Usage

1
2
3
4
5
6
builder.setMultiProgress(
    title = "Preparing your order...",
    progress = 2,      // The current active step (1-based index)
    points = 4,        // Total number of steps
    color = "#FF8514"  // Color of the active nodes
)

Parameters

ParameterTypeDescription
titleString?Text displayed above the nodes (e.g., status description).
progressIntRequired. The current step number (1-based index).
pointsIntRequired. The total number of steps/nodes to display.
colorString?Hex color for the completed/active nodes.

Customization

Unlike the linear bar which supports icons (picForward, picEnd), the Multi-Node progress typically focuses on simple geometry (dots/dashes).

  • Active Color: Defined by the color parameter.
  • Inactive Color: Automatically handled by the system (usually a dimmed version of the active color or gray).