isVisible property

bool get isVisible

Checks if this step should be displayed based on its conditions.

Returns true if the step should be shown, false otherwise. Steps that return false are automatically filtered out before the tour begins.

Implementation

bool get isVisible {
  return shouldShow?.call() ?? showIf;
}