|
|
|
|
@ -10,6 +10,7 @@ import 'package:diplomaticquarterapp/theme/colors.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_toast.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/utils.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/uitl/utils_new.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
|
|
|
|
@ -85,45 +86,60 @@ class _NewHomeHealthCareStepThreePageState extends State<NewHomeHealthCareStepTh
|
|
|
|
|
)),
|
|
|
|
|
Container(
|
|
|
|
|
decoration: BoxDecoration(color: Colors.white, borderRadius: BorderRadius.circular(12)),
|
|
|
|
|
padding: EdgeInsets.all(8),
|
|
|
|
|
padding: EdgeInsets.all(12),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Texts(TranslationBase.of(context).selectedLocation, fontWeight: FontWeight.bold),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context).selectedLocation,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: CustomColors.textColor,
|
|
|
|
|
letterSpacing: -0.56,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 12,
|
|
|
|
|
),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Container(
|
|
|
|
|
height: 200,
|
|
|
|
|
// child: GoogleMap(
|
|
|
|
|
// mapType: MapType.normal,
|
|
|
|
|
// markers: markers,
|
|
|
|
|
// initialCameraPosition: _kGooglePlex,
|
|
|
|
|
// onMapCreated: (GoogleMapController controller) {
|
|
|
|
|
// _controller.complete(controller);
|
|
|
|
|
// },
|
|
|
|
|
// ),
|
|
|
|
|
child: Image.network(
|
|
|
|
|
"https://maps.googleapis.com/maps/api/staticmap?center=" +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.latitude.toString() +
|
|
|
|
|
"," +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.longitude.toString() +
|
|
|
|
|
"&zoom=16&size=600x300&maptype=roadmap&markers=color:red%7C" +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.latitude.toString() +
|
|
|
|
|
"," +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.longitude.toString() +
|
|
|
|
|
"&key=AIzaSyCyDbWUM9d_sBUGIE8PcuShzPaqO08NSC8",
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: double.infinity,
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
)),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
height: 200,
|
|
|
|
|
// child: GoogleMap(
|
|
|
|
|
// mapType: MapType.normal,
|
|
|
|
|
// markers: markers,
|
|
|
|
|
// initialCameraPosition: _kGooglePlex,
|
|
|
|
|
// onMapCreated: (GoogleMapController controller) {
|
|
|
|
|
// _controller.complete(controller);
|
|
|
|
|
// },
|
|
|
|
|
// ),
|
|
|
|
|
decoration: containerColorRadiusBorderWidth(Colors.transparent, 12,Colors.transparent,0.5),
|
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
|
child: Image.network(
|
|
|
|
|
"https://maps.googleapis.com/maps/api/staticmap?center=" +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.latitude.toString() +
|
|
|
|
|
"," +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.longitude.toString() +
|
|
|
|
|
"&zoom=16&size=600x300&maptype=roadmap&markers=color:red%7C" +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.latitude.toString() +
|
|
|
|
|
"," +
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.longitude.toString() +
|
|
|
|
|
"&key=AIzaSyCyDbWUM9d_sBUGIE8PcuShzPaqO08NSC8",
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: double.infinity,
|
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
|
)),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 12,
|
|
|
|
|
),
|
|
|
|
|
Texts(TranslationBase.of(context).selectedService),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context).selectedService,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: CustomColors.textColor,
|
|
|
|
|
letterSpacing: -0.56,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
...List.generate(
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.patientERHHCInsertServicesList.length,
|
|
|
|
|
(index) => Container(
|
|
|
|
|
@ -139,13 +155,23 @@ class _NewHomeHealthCareStepThreePageState extends State<NewHomeHealthCareStepTh
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Texts(
|
|
|
|
|
Text(
|
|
|
|
|
(index + 1).toString() + '. ',
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: CustomColors.black,
|
|
|
|
|
letterSpacing: -0.48,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
Text(
|
|
|
|
|
widget.patientERInsertPresOrderRequestModel.patientERHHCInsertServicesList[index].serviceName,
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: CustomColors.black,
|
|
|
|
|
letterSpacing: -0.48,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|