|
|
|
|
@ -7,6 +7,7 @@ import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:giffy_dialog/giffy_dialog.dart';
|
|
|
|
|
|
|
|
|
|
class PharmaciesPage extends StatefulWidget {
|
|
|
|
|
@override
|
|
|
|
|
@ -50,12 +51,52 @@ class _PharmaciesPageState extends State<PharmaciesPage> {
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
width: 70,
|
|
|
|
|
height: 70,
|
|
|
|
|
// margin: EdgeInsets.only(right: 15),
|
|
|
|
|
child: Image.network(model.FindusPharmaciesModelList[index].projectImageURL.toString())),
|
|
|
|
|
GestureDetector(
|
|
|
|
|
onTap: (){
|
|
|
|
|
showDialog(
|
|
|
|
|
context: context,builder: (_) => AssetGiffyDialog(
|
|
|
|
|
title: Text(model.FindusPharmaciesModelList[index].locationName,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 22.0, fontWeight: FontWeight.w600),
|
|
|
|
|
),image:Image.network(model.FindusPharmaciesModelList[index].projectImageURL.toString(), fit: BoxFit.cover,),
|
|
|
|
|
|
|
|
|
|
// buttonOkText:Text("LOCATION"),
|
|
|
|
|
// buttonOkColor: Colors.grey,
|
|
|
|
|
buttonCancelText:Text('cancel') ,
|
|
|
|
|
buttonCancelColor: Colors.grey,
|
|
|
|
|
// onOkButtonPressed: () { MapsLauncher.launchCoordinates(double.parse(latitude),double.parse(longitude),projectname);},
|
|
|
|
|
// onCancelButtonPressed:(),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
) );
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
width: 70,
|
|
|
|
|
height: 70,
|
|
|
|
|
// margin: EdgeInsets.only(right: 15),
|
|
|
|
|
child: Image.network(model.FindusPharmaciesModelList[index].projectImageURL.toString())),
|
|
|
|
|
),
|
|
|
|
|
Container(child: Texts('${model.FindusPharmaciesModelList[index].locationName}')),//model.cOCItemList[index].cOCTitl
|
|
|
|
|
IconButton(
|
|
|
|
|
icon: Icon(Icons.person_pin_circle_outlined),
|
|
|
|
|
tooltip: 'Increase volume by 10',
|
|
|
|
|
onPressed: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
// _volume += 10;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
IconButton(
|
|
|
|
|
icon: Icon(Icons.phone),
|
|
|
|
|
tooltip: 'Increase volume by 10',
|
|
|
|
|
onPressed: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
// _volume += 10;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
// Texts(
|
|
|
|
|
// 'Number :${model.FindusHospitalModelList[index].locationName}',
|
|
|
|
|
// variant: 'overline',
|
|
|
|
|
|