Contact us

merge-update-with-lab-changes
Amjad amireh 6 years ago
parent 97d0c439c7
commit 50d862b076

@ -1,7 +1,9 @@
import 'dart:ui'; import 'dart:ui';
import 'package:diplomaticquarterapp/core/viewModels/contactus/findus_view_model.dart';
import 'package:diplomaticquarterapp/pages/ContactUs/findus/hospitrals_page.dart'; import 'package:diplomaticquarterapp/pages/ContactUs/findus/hospitrals_page.dart';
import 'package:diplomaticquarterapp/pages/ContactUs/findus/pharmacies_page.dart'; import 'package:diplomaticquarterapp/pages/ContactUs/findus/pharmacies_page.dart';
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
import 'package:diplomaticquarterapp/pages/feedback/send_feedback_page.dart'; import 'package:diplomaticquarterapp/pages/feedback/send_feedback_page.dart';
import 'package:diplomaticquarterapp/pages/feedback/status_feedback_page.dart'; import 'package:diplomaticquarterapp/pages/feedback/status_feedback_page.dart';
import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
@ -33,89 +35,93 @@ class _FindUsPageState extends State<FindUsPage> with SingleTickerProviderStateM
@override @override
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return AppScaffold( return BaseView<FindusViewModel>(
isShowAppBar: true, onModelReady: (model) => model.getFindUsRequestOrders(), //model.getCOC(),
appBarTitle: 'Locations', builder: (_,model,w)=> AppScaffold(
body: Scaffold( isShowAppBar: true,
extendBodyBehindAppBar: true, appBarTitle: 'Locations',
appBar: PreferredSize( baseViewModel: model,
preferredSize: Size.fromHeight(65.0), body: Scaffold(
child: Stack( extendBodyBehindAppBar: true,
children: <Widget>[ appBar: PreferredSize(
Positioned( preferredSize: Size.fromHeight(65.0),
bottom: 1, child: Stack(
left: 0, children: <Widget>[
right: 0, Positioned(
child: BackdropFilter( bottom: 1,
filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10), left: 0,
child: Container( right: 0,
color: Theme.of(context) child: BackdropFilter(
.scaffoldBackgroundColor filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10),
.withOpacity(0.8), child: Container(
height: 70.0, color: Theme.of(context)
.scaffoldBackgroundColor
.withOpacity(0.8),
height: 70.0,
),
), ),
), ),
), Center(
Center( child: Container(
child: Container( height: 60.0,
height: 60.0, margin: EdgeInsets.only(top: 10.0),
margin: EdgeInsets.only(top: 10.0), width: MediaQuery.of(context).size.width *0.92,// 0.9,
width: MediaQuery.of(context).size.width *0.92,// 0.9, decoration: BoxDecoration(
decoration: BoxDecoration( border: Border(
border: Border( bottom: BorderSide(
bottom: BorderSide( color: Theme.of(context).dividerColor,
color: Theme.of(context).dividerColor, width: 0.9),//width: 0.7
width: 0.9),//width: 0.7 ),
), color: Colors.white),
color: Colors.white), child: Center(
child: Center( child: TabBar(
child: TabBar( isScrollable: true,
isScrollable: true, controller: _tabController,
controller: _tabController, indicatorWeight: 5.0,
indicatorWeight: 5.0, //indicatorSize: TabBarIndicatorSize.label,
//indicatorSize: TabBarIndicatorSize.label, indicatorSize: TabBarIndicatorSize.tab,
indicatorSize: TabBarIndicatorSize.tab,
indicatorColor: Colors.red[800], indicatorColor: Colors.red[800],
labelColor: Theme.of(context).primaryColor, labelColor: Theme.of(context).primaryColor,
labelPadding: labelPadding:
EdgeInsets.only(top: 4.0, left: 35.0, right: 35.0), EdgeInsets.only(top: 4.0, left: 35.0, right: 35.0),
unselectedLabelColor: Colors.grey[800], unselectedLabelColor: Colors.grey[800],
tabs: [ tabs: [
Container( Container(
width: MediaQuery.of(context).size.width * 0.30, width: MediaQuery.of(context).size.width * 0.30,
child: Center( child: Center(
child: Texts(' Hospitals '), child: Texts(' Hospitals '),
),
), ),
), Container(
Container( width: MediaQuery.of(context).size.width * 0.30,
width: MediaQuery.of(context).size.width * 0.30, child: Center(
child: Center( child: Texts(' Pharmacies '),
child: Texts(' Pharmacies '), ),
), ),
), ],
], ),
), ),
), ),
), ),
), ],
),
),
body: Column(
children: <Widget>[
Expanded(
child: TabBarView(
physics: BouncingScrollPhysics(),
controller: _tabController,
children: <Widget>[
HospitalsPage(findusHospitalModelList: model.FindusHospitalModelList,),//SendFeedbackPage(),
PharmaciesPage(findusPharmaciesModelList: model.FindusPharmaciesModelList,)//StatusFeedbackPage()
],
),
)
], ],
), ),
), ),
body: Column(
children: <Widget>[
Expanded(
child: TabBarView(
physics: BouncingScrollPhysics(),
controller: _tabController,
children: <Widget>[
HospitalsPage(),//SendFeedbackPage(),
PharmaciesPage()//StatusFeedbackPage()
],
),
)
],
),
), ),
); );
} }

@ -1,4 +1,5 @@
import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart';
import 'package:diplomaticquarterapp/core/viewModels/contactus/findus_view_model.dart'; import 'package:diplomaticquarterapp/core/viewModels/contactus/findus_view_model.dart';
import 'package:diplomaticquarterapp/pages/base/base_view.dart'; import 'package:diplomaticquarterapp/pages/base/base_view.dart';
import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; import 'package:diplomaticquarterapp/widgets/buttons/button.dart';
@ -10,6 +11,11 @@ import 'package:giffy_dialog/giffy_dialog.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
import 'package:maps_launcher/maps_launcher.dart'; import 'package:maps_launcher/maps_launcher.dart';
class HospitalsPage extends StatefulWidget { class HospitalsPage extends StatefulWidget {
final List<GetHMGLocationsModel> findusHospitalModelList;
HospitalsPage({Key key, this.findusHospitalModelList});
@override @override
_HospitalsPageState createState() => _HospitalsPageState(); _HospitalsPageState createState() => _HospitalsPageState();
} }
@ -17,110 +23,113 @@ class HospitalsPage extends StatefulWidget {
class _HospitalsPageState extends State<HospitalsPage> { class _HospitalsPageState extends State<HospitalsPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return BaseView<FindusViewModel>(
onModelReady: (model) => model.getFindUsRequestOrders(),//model.getCOC(),
builder: (_, model, widget) => AppScaffold(
baseViewModel: model,
body: SingleChildScrollView(
child: Container(
// margin: EdgeInsets.only(left: 15,right: 15,top: 70),
margin: EdgeInsets.only(left: 15,right: 15,top: 70),
child: Column(
children: [
...List.generate(model.FindusHospitalModelList.length, (index) => Container(
decoration: BoxDecoration(
shape: BoxShape.rectangle,
border: Border.all(color: Colors.white, width: 0.5),
borderRadius: BorderRadius.all(Radius.circular(5)),
color: Colors.white,
),
child: Padding( return AppScaffold(
padding: const EdgeInsets.all(8.0), body: SingleChildScrollView(
child: Column( child: Container(
crossAxisAlignment: CrossAxisAlignment.start, // margin: EdgeInsets.only(left: 15,right: 15,top: 70),
children: <Widget>[ margin: EdgeInsets.only(left: 15,right: 15,top: 70),
Row( child: Column(
mainAxisAlignment: children: [
MainAxisAlignment.spaceBetween, ...List.generate(widget.findusHospitalModelList.length, (index) => Container(
children: <Widget>[ decoration: BoxDecoration(
Expanded( shape: BoxShape.rectangle,
child: Row( border: Border.all(color: Colors.white, width: 0.5),
mainAxisAlignment: MainAxisAlignment.spaceBetween, borderRadius: BorderRadius.all(Radius.circular(5)),
crossAxisAlignment: color: Colors.white,
CrossAxisAlignment.center, ),
children: <Widget>[
InkWell( child: Padding(
onTap:(){ padding: const EdgeInsets.all(8.0),
showDialog( child: Column(
context: context,builder: (_) => AssetGiffyDialog( crossAxisAlignment: CrossAxisAlignment.start,
title: Text(model.FindusHospitalModelList[index].locationName, mainAxisAlignment: MainAxisAlignment.center,
style: TextStyle( children: <Widget>[
fontSize: 22.0, fontWeight: FontWeight.w600), Row(
),image:Image.network(model.FindusHospitalModelList[index].projectImageURL.toString(), fit: BoxFit.cover,),
buttonCancelText:Text('cancel') , mainAxisAlignment:
buttonCancelColor: Colors.grey, MainAxisAlignment.spaceBetween,
onlyCancelButton: true, children: <Widget>[
Expanded(
) ); child: Row(
}, mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment:
CrossAxisAlignment.center,
children: <Widget>[
InkWell(
onTap:(){
showDialog(
context: context,builder: (_) => AssetGiffyDialog(
title: Text(widget.findusHospitalModelList[index].locationName,
style: TextStyle(
fontSize: 22.0, fontWeight: FontWeight.w600),
),image:Image.network(widget.findusHospitalModelList[index].projectImageURL.toString(), fit: BoxFit.cover,),
buttonCancelText:Text('cancel') ,
buttonCancelColor: Colors.grey,
onlyCancelButton: true,
) );
},
child: Container(
width: 70,
height: 70,
child: Image.network(widget.findusHospitalModelList[index].projectImageURL.toString())),
),
Expanded(
flex: 4,
child: Container( child: Container(
width: 70, margin: EdgeInsets.only(left: 5,right: 5,top: 10,bottom: 1),
height: 70, child: Texts('${widget.findusHospitalModelList[index].locationName}',textAlign: TextAlign.center,))),//model.cOCItemList[index].cOCTitl
child: Image.network(model.FindusHospitalModelList[index].projectImageURL.toString())), Expanded(
), flex: 2,
Expanded( child: Row(
flex: 4, crossAxisAlignment:
child: Container( CrossAxisAlignment.center,
margin: EdgeInsets.only(left: 5,right: 5),
child: Texts('${model.FindusHospitalModelList[index].locationName}',textAlign: TextAlign.center,))),//model.cOCItemList[index].cOCTitl children: [
Expanded( IconButton(
flex: 2,
child: Row(
children: [
IconButton(
// icon: Icon(Icons.person_pin_circle_outlined,color: Colors.red,), // icon: Icon(Icons.person_pin_circle_outlined,color: Colors.red,),
icon:new Image.asset('assets/images/new-design/navigate.png'), icon:new Image.asset('assets/images/new-design/navigate.png'),
tooltip: 'Increase volume by 10', tooltip: '',
onPressed: () { onPressed: () {
setState(() { setState(() {
MapsLauncher.launchCoordinates(double.parse(model.FindusHospitalModelList[index].latitude),double.parse(model.FindusHospitalModelList[index].longitude),model.FindusHospitalModelList[index].locationName); MapsLauncher.launchCoordinates(double.parse(widget.findusHospitalModelList[index].latitude),double.parse(widget.findusHospitalModelList[index].longitude),widget.findusHospitalModelList[index].locationName);
// _volume += 10;
}); });
}, },
), ),
IconButton( IconButton(
// icon: Icon(Icons.phone,color: Colors.red,), // icon: Icon(Icons.phone,color: Colors.red,),
icon:new Image.asset('assets/images/new-design/call.png'), icon:new Image.asset('assets/images/new-design/call.png'),
tooltip: 'Increase volume by 10', tooltip: '',
onPressed: () { onPressed: () {
setState(() { setState(() {
// _volume += 10; // _volume += 10;
launch("tel://" +model.FindusHospitalModelList[index].phoneNumber); launch("tel://" +widget.findusHospitalModelList[index].phoneNumber);
}); });
}, },
), ),
], ],
),
), ),
),
], ],
),
), ),
),
], ],
), ),
// Texts('${model.FindusHospitalModelList[index].locationName}'), // Texts('${model.FindusHospitalModelList[index].locationName}'),
Divider(height: 4.5,color: Colors.grey[500],) Divider(height: 4.5,color: Colors.grey[500],)
], ],
),
), ),
)), ),
SizedBox(height: 8,), )),
Container(width: double.infinity, SizedBox(height: 8,),
height: 100,color: Colors.white, Container(width: double.infinity,
height: 100,color: Colors.white,
child: Row( child: Row(
mainAxisSize:MainAxisSize.max, mainAxisSize:MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceAround, mainAxisAlignment: MainAxisAlignment.spaceAround,
@ -128,7 +137,7 @@ class _HospitalsPageState extends State<HospitalsPage> {
children: [ children: [
IconButton( IconButton(
icon: new Image.asset('assets/images/new-design/youtube.png'), icon: new Image.asset('assets/images/new-design/youtube.png'),
iconSize: 70, iconSize: 70,
tooltip: 'Youtube', tooltip: 'Youtube',
onPressed: () { onPressed: () {
@ -157,7 +166,7 @@ class _HospitalsPageState extends State<HospitalsPage> {
onPressed: () { onPressed: () {
setState(() { setState(() {
launch("https://twitter.com/HMG"); launch("https://twitter.com/HMG");
}); });
}, },
), ),
@ -168,19 +177,18 @@ class _HospitalsPageState extends State<HospitalsPage> {
onPressed: () { onPressed: () {
setState(() { setState(() {
launch("https://www.facebook.com/DrSulaimanAlHabib?ref=tn_tnmn"); launch("https://www.facebook.com/DrSulaimanAlHabib?ref=tn_tnmn");
}); });
}, },
), ),
], ],
), ),
), ),
], ],
),
), ),
), ),
), ),
); );
} }

@ -1,4 +1,5 @@
import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart';
import 'package:diplomaticquarterapp/core/viewModels/contactus/findus_view_model.dart'; import 'package:diplomaticquarterapp/core/viewModels/contactus/findus_view_model.dart';
import 'package:diplomaticquarterapp/pages/base/base_view.dart'; import 'package:diplomaticquarterapp/pages/base/base_view.dart';
import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; import 'package:diplomaticquarterapp/widgets/buttons/button.dart';
@ -11,6 +12,9 @@ import 'package:maps_launcher/maps_launcher.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
class PharmaciesPage extends StatefulWidget { class PharmaciesPage extends StatefulWidget {
final List<GetHMGLocationsModel> findusPharmaciesModelList;
PharmaciesPage({Key key, this.findusPharmaciesModelList});
@override @override
_PharmaciesPageState createState() => _PharmaciesPageState(); _PharmaciesPageState createState() => _PharmaciesPageState();
} }
@ -18,216 +22,208 @@ class PharmaciesPage extends StatefulWidget {
class _PharmaciesPageState extends State<PharmaciesPage> { class _PharmaciesPageState extends State<PharmaciesPage> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return BaseView<FindusViewModel>( return AppScaffold(
onModelReady: (model) => model.getFindUsRequestOrders(), //model.getCOC(), body: SingleChildScrollView(
builder: (_, model, widget) => AppScaffold( child: Container(
baseViewModel: model, margin: EdgeInsets.only(left: 15, right: 15, top: 70),
body: SingleChildScrollView( child: Column(
child: Container( children: [
margin: EdgeInsets.only(left: 15, right: 15, top: 70), ...List.generate(
child: Column( widget.findusPharmaciesModelList.length,
children: [ (index) => Container(
...List.generate( decoration: BoxDecoration(
model.FindusPharmaciesModelList.length, shape: BoxShape.rectangle,
(index) => Container( border: Border.all(color: Colors.white, width: 0.5),
decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(5)),
shape: BoxShape.rectangle, color: Colors.white,
border: Border.all(color: Colors.white, width: 0.5), ),
borderRadius: BorderRadius.all(Radius.circular(5)), child: Padding(
color: Colors.white, padding: const EdgeInsets.all(8.0),
), child: Column(
child: Padding( crossAxisAlignment: CrossAxisAlignment.start,
padding: const EdgeInsets.all(8.0), children: <Widget>[
child: Column( Row(
crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment:
children: <Widget>[ MainAxisAlignment.spaceBetween,
Row( children: <Widget>[
Expanded(
child: Row(
mainAxisAlignment: mainAxisAlignment:
MainAxisAlignment.spaceBetween, MainAxisAlignment.spaceBetween,
crossAxisAlignment:
CrossAxisAlignment.center,
children: <Widget>[ children: <Widget>[
InkWell(
onTap:(){
showDialog(
context: context,builder: (_) => AssetGiffyDialog(
title: Text(widget.findusPharmaciesModelList[index].locationName,
style: TextStyle(
fontSize: 22.0, fontWeight: FontWeight.w600),
),
image:widget.findusPharmaciesModelList[index].projectImageURL!= null? Image.network(widget.findusPharmaciesModelList[index].projectImageURL, fit: BoxFit.cover,): Image.network('https://hmgwebservices.com/Images/Hospitals/15.jpg', fit: BoxFit.cover,) ,
buttonCancelText:Text('cancel') ,
// buttonCancelText:Text(model.user.projectID) ,
buttonCancelColor: Colors.grey,
onlyCancelButton: true,
) );
},
child: Container(
width: 70,
height: 70,
child:
Image.network(widget.findusPharmaciesModelList[index].projectImageURL!= null? widget.findusPharmaciesModelList[index].projectImageURL.toString(): 'https://hmgwebservices.com/Images/Hospitals/15.jpg') ),
),
Expanded( Expanded(
flex: 4,
child: Container(
margin: EdgeInsets.only(
left: 5, right: 5),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Texts(
'${widget.findusPharmaciesModelList[index].locationName}',
textAlign: TextAlign.start,
),
SizedBox(height: 4,),
Texts(
'${widget.findusPharmaciesModelList[index].cityName}',
textAlign: TextAlign.center,
),
],
),
),
),
//model.cOCItemList[index].cOCTitl
Expanded(
flex: 2,
child: Row( child: Row(
mainAxisAlignment: children: [
MainAxisAlignment.spaceBetween, IconButton(
crossAxisAlignment: // icon: Icon(
CrossAxisAlignment.center, // Icons
children: <Widget>[ // .person_pin_circle_outlined,
InkWell( // color: Colors.red,
onTap:(){ // ),
showDialog( icon:new Image.asset('assets/images/new-design/navigate.png'),
context: context,builder: (_) => AssetGiffyDialog( tooltip:
title: Text(model.FindusPharmaciesModelList[index].locationName, '',
style: TextStyle( onPressed: () {
fontSize: 22.0, fontWeight: FontWeight.w600), setState(() {
),image:Image.network(model.FindusPharmaciesModelList[index].projectImageURL.toString(), fit: BoxFit.cover,), MapsLauncher.launchCoordinates(
buttonCancelText:Text('cancel') , double.parse(widget.findusPharmaciesModelList[
// buttonCancelText:Text(model.user.projectID) , index]
buttonCancelColor: Colors.grey, .latitude),
onlyCancelButton: true, double.parse(widget.findusPharmaciesModelList[
index]
) ); .longitude),
widget.findusPharmaciesModelList[
index]
.locationName);
// _volume += 10;
});
}, },
child: Container(
width: 70,
height: 70,
child: Image.network(model
.FindusPharmaciesModelList[
index]
.projectImageURL
.toString())),
), ),
Expanded( IconButton(
flex: 4, // icon: Icon(
child: Container( // Icons.phone,
margin: EdgeInsets.only( // color: Colors.red,
left: 5, right: 5), // ),
child: Column( icon:new Image.asset('assets/images/new-design/call.png'),
crossAxisAlignment: CrossAxisAlignment.start, tooltip:
children: [ 'I',
Texts( onPressed: () {
'${model.FindusPharmaciesModelList[index].locationName}', setState(() {
textAlign: TextAlign.start, // _volume += 10;
), launch("tel://" +
SizedBox(height: 4,), widget.findusPharmaciesModelList[
Texts( index]
'${model.FindusPharmaciesModelList[index].cityName}', .phoneNumber);
textAlign: TextAlign.center, });
), },
],
),
),
),
//model.cOCItemList[index].cOCTitl
Expanded(
flex: 2,
child: Row(
children: [
IconButton(
icon: Icon(
Icons
.person_pin_circle_outlined,
color: Colors.red,
),
tooltip:
'Increase volume by 10',
onPressed: () {
setState(() {
MapsLauncher.launchCoordinates(
double.parse(model
.FindusPharmaciesModelList[
index]
.latitude),
double.parse(model
.FindusPharmaciesModelList[
index]
.longitude),
model
.FindusPharmaciesModelList[
index]
.locationName);
// _volume += 10;
});
},
),
IconButton(
icon: Icon(
Icons.phone,
color: Colors.red,
),
tooltip:
'Increase volume by 10',
onPressed: () {
setState(() {
// _volume += 10;
launch("tel://" +
model
.FindusPharmaciesModelList[
index]
.phoneNumber);
});
},
),
],
),
), ),
], ],
), ),
), ),
], ],
), ),
),
Divider( ],
height: 4.5,
color: Colors.grey[500],
)
],
),
), ),
)),
SizedBox( Divider(
height: 8, height: 4.5,
), color: Colors.grey[500],
Container( )
width: double.infinity, ],
height: 100,
color: Colors.white,
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
IconButton(
icon: new Image.asset(
'assets/images/new-design/youtube.png'),
iconSize: 70,
tooltip: 'Youtube',
onPressed: () {
setState(() {
// _volume += 10;
launch(
"https://www.youtube.com/c/DrsulaimanAlhabibHospitals");
});
},
),
IconButton(
icon: new Image.asset(
'assets/images/new-design/linkedin.png'),
tooltip: 'LinkedIn',
iconSize: 70,
onPressed: () {
setState(() {
launch(
"https://www.youtube.com/c/DrsulaimanAlhabibHospitals");
});
},
),
IconButton(
icon: new Image.asset(
'assets/images/new-design/twitter.png'),
tooltip: 'Twitter',
iconSize: 70,
onPressed: () {
setState(() {
launch("https://twitter.com/HMG");
});
},
),
IconButton(
icon: new Image.asset(
'assets/images/new-design/facebook.png'),
tooltip: 'facebook',
iconSize: 70,
onPressed: () {
setState(() {
launch(
"https://www.facebook.com/DrSulaimanAlHabib?ref=tn_tnmn");
});
},
), ),
], ),
), )),
SizedBox(
height: 8,
),
Container(
width: double.infinity,
height: 100,
color: Colors.white,
child: Row(
mainAxisSize: MainAxisSize.max,
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
IconButton(
icon: new Image.asset(
'assets/images/new-design/youtube.png'),
iconSize: 70,
tooltip: 'Youtube',
onPressed: () {
setState(() {
// _volume += 10;
launch(
"https://www.youtube.com/c/DrsulaimanAlhabibHospitals");
});
},
),
IconButton(
icon: new Image.asset(
'assets/images/new-design/linkedin.png'),
tooltip: 'LinkedIn',
iconSize: 70,
onPressed: () {
setState(() {
launch(
"https://www.linkedin.com/company/drsulaiman-alhabib-medical-group");
});
},
),
IconButton(
icon: new Image.asset(
'assets/images/new-design/twitter.png'),
tooltip: 'Twitter',
iconSize: 70,
onPressed: () {
setState(() {
launch("https://twitter.com/HMG");
});
},
),
IconButton(
icon: new Image.asset(
'assets/images/new-design/facebook.png'),
tooltip: 'facebook',
iconSize: 70,
onPressed: () {
setState(() {
launch(
"https://www.facebook.com/DrSulaimanAlHabib?ref=tn_tnmn");
});
},
),
],
), ),
], ),
), ],
), ),
), ),
), ),

Loading…
Cancel
Save