diff --git a/lib/presentation/profile/my_profile_screen/bloc/my_profile_state.dart b/lib/presentation/profile/my_profile_screen/bloc/my_profile_state.dart index 49d86c8e..8e25ad69 100644 --- a/lib/presentation/profile/my_profile_screen/bloc/my_profile_state.dart +++ b/lib/presentation/profile/my_profile_screen/bloc/my_profile_state.dart @@ -49,6 +49,8 @@ class MyProfileLoadedState extends MyProfileState { this.favoriteFormController, this.unfavoriteFormController, this.additionalFormController, + this.hypoFormController, + this.hyperFormController, this.circumferences}) : super(myProfileModelObj: null); @@ -83,7 +85,8 @@ class MyProfileLoadedState extends MyProfileState { String? token; String? selectedCountry; String? selectedCity; - + String? hypoFormController; + String? hyperFormController; @override List get props => [ myProfileModelObj, @@ -116,6 +119,8 @@ class MyProfileLoadedState extends MyProfileState { additionalFormController, selectedCountry, selectedCity, + hypoFormController, + hyperFormController, ]; MyProfileLoadedState copyWith({ MyProfileModel? myProfileModelObj, @@ -144,11 +149,13 @@ class MyProfileLoadedState extends MyProfileState { TextEditingController? favoriteFormController, TextEditingController? unfavoriteFormController, TextEditingController? additionalFormController, + TextEditingController? downPressureFormController, + TextEditingController? upPressureFormController, String? token, String? selectedCountry, String? selectedCity, - TextEditingController? downPressureFormController, - TextEditingController? upPressureFormController, + String? hypoFormController, + String? hyperFormController, }) { return MyProfileLoadedState( myProfileModelObj: myProfileModelObj ?? this.myProfileModelObj, @@ -197,6 +204,8 @@ class MyProfileLoadedState extends MyProfileState { token: token ?? this.token, selectedCountry: selectedCountry ?? this.selectedCountry, selectedCity: selectedCity ?? this.selectedCity, + hypoFormController: hypoFormController ?? this.hypoFormController, + hyperFormController: hyperFormController ?? this.hyperFormController, ); } }