diff --git a/lib/presentation/blood_pressure_screen/models/blood_pressure_model.dart b/lib/presentation/blood_pressure_screen/models/blood_pressure_model.dart index c002b0a9..328d1c5d 100644 --- a/lib/presentation/blood_pressure_screen/models/blood_pressure_model.dart +++ b/lib/presentation/blood_pressure_screen/models/blood_pressure_model.dart @@ -15,8 +15,7 @@ class BloodPressureModel extends Equatable { BloodPressureModel copyWith({List? dropdownItemList}) { return BloodPressureModel( - userRegistrationSheet: - userRegistrationSheet ?? this.userRegistrationSheet, + userRegistrationSheet: userRegistrationSheet, dropdownItemList: dropdownItemList ?? this.dropdownItemList, ); } diff --git a/lib/presentation/favorite_sports_screen/models/favorite_sports_model.dart b/lib/presentation/favorite_sports_screen/models/favorite_sports_model.dart index 11a1e288..25481701 100644 --- a/lib/presentation/favorite_sports_screen/models/favorite_sports_model.dart +++ b/lib/presentation/favorite_sports_screen/models/favorite_sports_model.dart @@ -11,8 +11,7 @@ class FavoriteSportsModel extends Equatable { FavoriteSportsModel copyWith() { return FavoriteSportsModel( - userRegistrationSheet: - userRegistrationSheet ?? this.userRegistrationSheet, + userRegistrationSheet: userRegistrationSheet, ); } diff --git a/lib/presentation/height_screen/models/height_model.dart b/lib/presentation/height_screen/models/height_model.dart index b108d7d9..caa3b752 100644 --- a/lib/presentation/height_screen/models/height_model.dart +++ b/lib/presentation/height_screen/models/height_model.dart @@ -15,8 +15,7 @@ class HeightModel extends Equatable { HeightModel copyWith({List? dropdownItemList}) { return HeightModel( - userRegistrationSheet: - userRegistrationSheet ?? this.userRegistrationSheet, + userRegistrationSheet: userRegistrationSheet, dropdownItemList: dropdownItemList ?? this.dropdownItemList, ); } diff --git a/lib/presentation/medicine_intake_screen/models/medicine_intake_model.dart b/lib/presentation/medicine_intake_screen/models/medicine_intake_model.dart index 9828f2d8..f6634de4 100644 --- a/lib/presentation/medicine_intake_screen/models/medicine_intake_model.dart +++ b/lib/presentation/medicine_intake_screen/models/medicine_intake_model.dart @@ -11,8 +11,7 @@ class MedicineIntakeModel extends Equatable { MedicineIntakeModel copyWith() { return MedicineIntakeModel( - userRegistrationSheet: - userRegistrationSheet ?? this.userRegistrationSheet, + userRegistrationSheet: userRegistrationSheet, ); } diff --git a/lib/presentation/weight_screen/models/weight_model.dart b/lib/presentation/weight_screen/models/weight_model.dart index e91ceb10..e26b49a0 100644 --- a/lib/presentation/weight_screen/models/weight_model.dart +++ b/lib/presentation/weight_screen/models/weight_model.dart @@ -15,8 +15,7 @@ class WeightModel extends Equatable { WeightModel copyWith({List? dropdownItemList}) { return WeightModel( - userRegistrationSheet: - userRegistrationSheet ?? this.userRegistrationSheet, + userRegistrationSheet: userRegistrationSheet, dropdownItemList: dropdownItemList ?? this.dropdownItemList, ); } diff --git a/pubspec.yaml b/pubspec.yaml index 79669938..3d9f93ca 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,6 +15,9 @@ dependencies: flutter_svg: ^2.0.9 equatable: ^2.0.0 validators: ^3.0.0 + hive: ^4.0.0 + isar_flutter_libs: ^4.0.0-dev.13 + path_provider: ^2.1.0 dev_dependencies: flutter_test: