From 50d1e50df47c8b0be63f01c8c425ff53d1d4ae8b Mon Sep 17 00:00:00 2001 From: Mohammad Aljammal Date: Tue, 8 Sep 2020 12:57:31 +0300 Subject: [PATCH] ER --- lib/pages/ErService/NearestEr.dart | 7 ++++--- lib/pages/ErService/widgets/card_position.dart | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/pages/ErService/NearestEr.dart b/lib/pages/ErService/NearestEr.dart index 64ca8682..1cc741ff 100644 --- a/lib/pages/ErService/NearestEr.dart +++ b/lib/pages/ErService/NearestEr.dart @@ -35,11 +35,12 @@ class NearestEr extends StatelessWidget { child: ListView( children: [ - Text(TranslationBase.of(context).searchBy, + Text("\nThis service Displays nearest branch\n among all the branches of All Habib \n medical Group based on your current Location",textAlign: TextAlign.center, style: TextStyle( - fontSize: 24.0, + fontSize: 18.0, letterSpacing: 1.0, - fontWeight: FontWeight.bold, + fontWeight: FontWeight.w900, + color: new Color(0xFF60686b))), Container( margin: EdgeInsets.fromLTRB(0.0, 10.0, 0.0, 10.0), diff --git a/lib/pages/ErService/widgets/card_position.dart b/lib/pages/ErService/widgets/card_position.dart index 572d52f0..28184103 100644 --- a/lib/pages/ErService/widgets/card_position.dart +++ b/lib/pages/ErService/widgets/card_position.dart @@ -93,7 +93,12 @@ class CardPosition extends StatelessWidget { description: Text('projectname', textAlign: TextAlign.center, style: TextStyle(), + ), + buttonOkText:Text("LOCATION"), + buttonOkColor: Colors.grey, + buttonCancelText:Text('CAll') , + buttonCancelColor: Colors.grey, onOkButtonPressed: () { MapsLauncher.launchCoordinates(double.parse(latitude),double.parse(longitude),projectname);}, onCancelButtonPressed :() {launch("tel://" +telephone);}