onSkip property

VoidCallback? onSkip
final

Custom action to execute when "Skip" button is pressed.

If provided, this is called before skipping the tour. This allows you to perform custom cleanup or tracking.

onSkip: () {
  analytics.logEvent('tour_skipped');
}

Implementation

final VoidCallback? onSkip;