Added height screen for registration & set adequate options and initial parameters for height/weight

This commit is contained in:
2023-12-19 15:09:52 +03:00
parent 767e45e323
commit 75efb1e414
11 changed files with 264 additions and 12 deletions

View File

@@ -0,0 +1,31 @@
// ignore_for_file: must_be_immutable
part of 'height_bloc.dart';
/// Represents the state of Height in the application.
class HeightState extends Equatable {
HeightState({
this.selectedDropDownValue,
this.heightModelObj,
});
SelectionPopupModel? selectedDropDownValue;
HeightModel? heightModelObj;
@override
List<Object?> get props => [
selectedDropDownValue,
heightModelObj,
];
HeightState copyWith({
SelectionPopupModel? selectedDropDownValue,
HeightModel? heightModelObj,
}) {
return HeightState(
selectedDropDownValue:
selectedDropDownValue ?? this.selectedDropDownValue,
heightModelObj: heightModelObj ?? this.heightModelObj,
);
}
}