isActiveStep method

bool isActiveStep(
  1. String tour,
  2. int order
)

Whether the target for tour at order is the active step.

Implementation

bool isActiveStep(String tour, int order) =>
    _controller.activeTour == tour &&
    orderAt(tour, _controller.index) == order;