shouldShow property

bool Function()? shouldShow
final

Optional callback to determine if this step should be shown.

If provided, this takes precedence over showIf. This is useful for complex conditional logic that depends on app state.

shouldShow: () => user.isPremium && feature.isEnabled

Implementation

final bool Function()? shouldShow;