|
|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:fluttertoast/fluttertoast.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
import 'package:test_sa/models/hospital.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../controllers/http_status_manger/http_status_manger.dart';
|
|
|
|
|
import '../../../controllers/localization/localization.dart';
|
|
|
|
|
@ -173,7 +174,7 @@ class _RequestDeviceTransferState extends State<RequestDeviceTransfer> {
|
|
|
|
|
),
|
|
|
|
|
6.height,
|
|
|
|
|
HospitalButton(
|
|
|
|
|
hospital: _formModel.receiver!.client!,
|
|
|
|
|
hospital: _formModel.receiver?.client??Hospital(),
|
|
|
|
|
onHospitalPick: (hospital) {
|
|
|
|
|
_formModel.receiver?.client = hospital;
|
|
|
|
|
setState(() {});
|
|
|
|
|
|