part of 'sign_up_bloc.dart';

class SignUpState extends Equatable {
  const SignUpState({
    required this.passwordHidden,
    required this.isLoading,
    required this.isButtonEnabled,
  });

  final bool passwordHidden;
  final bool isLoading;
  final bool isButtonEnabled;

  SignUpState copyWith({
    bool? passwordHidden,
    bool? isLoading,
    bool? isButtonEnabled,
  }) {
    return SignUpState(
      isLoading: isLoading ?? this.isLoading,
      passwordHidden: passwordHidden ?? this.passwordHidden,
      isButtonEnabled: isButtonEnabled ?? this.isButtonEnabled,
    );
  }

  @override
  List<Object?> get props => [passwordHidden, isLoading, isButtonEnabled];
}
