login_state.dart 615 Bytes
part of 'login_bloc.dart';

@immutable
abstract class LoginState {}

class LoginInitial extends LoginState {}
///登陆按钮状态
class LoginEventChangeState extends LoginState {}
///切换登陆方式
class LoginTypeChangeState extends LoginState {}
///发送验证码按钮状态
class SmsSendTypeChangeState extends LoginState {}
///是否同意协议
class AgreementTypeChangeState extends LoginState {}
///获取验证码
class SmsCodeRequestState extends  LoginState {}
///登陆请求结果
class LoginResultChangeState extends LoginState {
  bool result = false;
   LoginResultChangeState(this.result);
}