Constructors
-
OnboardingState({int currentStep = 0, int totalSteps = 4, List<OnboardingStepConfig> stepConfigs = const [OnboardingStepConfig.personalInfo, OnboardingStepConfig.professionalType, OnboardingStepConfig.preferences, OnboardingStepConfig.welcome], bool isLoading = false, bool isSaving = false, String? error, DateTime? lastSavedAt, String? personalName, String? personalEmail, String? personalPhone, String? personalDni, String? engineerId, ProfessionalType professionalType = ProfessionalType.freelancer, String? companyCif, String? companyName, String? companyAddress, String locale = 'es', AppThemeMode themePreference = AppThemeMode.dark, TextSizePreference textSizePreference = TextSizePreference.medium, bool notificationsEnabled = true})
-
const
-
OnboardingState.initial()
-
Factory for initial state
factory
Methods
-
copyWith({int? currentStep, int? totalSteps, List<OnboardingStepConfig>? stepConfigs, bool? isLoading, bool? isSaving, String? error, DateTime? lastSavedAt, String? personalName, String? personalEmail, String? personalPhone, String? personalDni, String? engineerId, ProfessionalType? professionalType, String? companyCif, String? companyName, String? companyAddress, String? locale, AppThemeMode? themePreference, TextSizePreference? textSizePreference, bool? notificationsEnabled})
→ OnboardingState
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited