Send JSON to server

This commit is contained in:
2023-12-26 16:06:24 +03:00
parent 503a82f79e
commit a8ed8b75b1
9 changed files with 48 additions and 53 deletions

View File

@@ -26,8 +26,7 @@ class HeightBloc extends Bloc<HeightEvent, HeightState> {
Emitter<HeightState> emit,
) {
emit(state.copyWith(selectedDropDownValue: event.value));
state.heightModelObj?.userRegistrationSheet.height =
int.tryParse(event.value.title)!;
state.heightModelObj?.userRegistrationSheet.height = event.value.title;
}
List<SelectionPopupModel> fillDropdownItemList() {