Files
be_happy_public/lib/presentation/state/splash_state.dart
2026-05-12 12:02:40 +03:00

26 lines
942 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:equatable/equatable.dart';
abstract class SplashState extends Equatable {
const SplashState();
@override
List<Object> get props => [];
}
// Начальное состояние, когда мы еще не знаем, авторизован ли пользователь
class AuthInitial extends SplashState {}
class AuthInProgress extends SplashState {}
// Пользователь успешно авторизован (токен обновлен)
class AuthAuthenticated extends SplashState {}
// Пользователь не авторизован (нет токена или его не удалось обновить)
class AuthUnauthenticated extends SplashState {}
// успешно ввел пин код
class AuthPinVerified extends SplashState {}
// Специальное состояние для первого запуска приложения
class AuthFirstLaunch extends SplashState {}