|
|
|
@ -145,7 +145,7 @@ class _AddDrugWidgetState extends State<AddDrugWidget> {
|
|
|
|
ViewState.ErrorLocal) {
|
|
|
|
ViewState.ErrorLocal) {
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
Utils.showErrorToast(widget.medicineModel!.error);
|
|
|
|
Utils.showErrorToast(widget.medicineModel!.error);
|
|
|
|
} else if (widget.modelPrescription!.state ==
|
|
|
|
} else if (widget.medicineModel!.state ==
|
|
|
|
ViewState.Idle) {
|
|
|
|
ViewState.Idle) {
|
|
|
|
await widget.modelPrescription
|
|
|
|
await widget.modelPrescription
|
|
|
|
!.getPrescriptionListNew(
|
|
|
|
!.getPrescriptionListNew(
|
|
|
|
|