mirrored_repositories/flutter_spacexopedia/lib/bloc
import 'package:equatable/equatable.dart';
import 'package:flutter_spacexopedia/ui/theme/theme.dart';
import 'package:meta/meta.dart';

@immutable
abstract class NavigationEvent extends Equatable {}

class IndexSelected extends NavigationEvent {
  final int index;
  IndexSelected(this.index);

  @override
  List<Object> get props => ["Select page index: $index"];
}

class ThemeSelected extends NavigationEvent {
  final ThemeType type;

  ThemeSelected(this.type);
  @override
  List<Object> get props => ["$type theme selected"];
}
