import 'package:equatable/equatable.dart';

abstract class OnboardingEvent extends Equatable {
  const OnboardingEvent();

  @override
  List<Object> get props => [];
}

// The event to navigate to the next page during the onboarding process
class NextPage extends OnboardingEvent {}

// The event to navigate to the previous page during the onboarding process
class PreviousPage extends OnboardingEvent {}

// The event to jump to a specific page during the onboarding process
class JumpToPage extends OnboardingEvent {
  final int pageIndex;

  const JumpToPage(this.pageIndex);

  @override
  List<Object> get props => [pageIndex];
}
