weather indicator in progress

fix_issues
Sultan Khan 4 years ago
parent 81c8239412
commit d69b3676a4

@ -83,15 +83,13 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
fit: BoxFit.cover,
),
borderRadius: BorderRadius.circular(8.0)),
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 10.0),
child: Row(
children: [
Expanded(
flex: 3,
child:
Column(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@ -102,7 +100,8 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
fontWeight: FontWeight.w600,
),
Texts(
TranslationBase.of(context).healthTipsBasedOnCurrentWeather,
TranslationBase.of(context)
.healthTipsBasedOnCurrentWeather,
color: Colors.white,
fontSize: 14,
),
@ -125,10 +124,15 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Image.asset('assets/images/Weather_ico.png',width: 60,height: 60,),
AppText(weather, fontSize: 22, color:Colors.white)
],),
Image.asset(
'assets/images/Weather_ico.png',
width: 60,
height: 60,
),
AppText(weather,
fontSize: 22, color: Colors.white)
],
),
Texts(
TranslationBase.of(context).moreDetails,
color: Colors.white,
@ -150,7 +154,6 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
'assets/images/new-design/my_file_bottom_bar.png',
title: TranslationBase.of(context).myMedicalFile,
),
ServicesContainer(
onTap: () => Navigator.push(
context,
@ -175,7 +178,6 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
'assets/images/al-habib_online_payment_service_icon.png',
title: TranslationBase.of(context).onlinePaymentService,
),
ServicesContainer(
onTap: () {
Navigator.push(
@ -190,7 +192,6 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
imageLocation: 'assets/images/emergency_service_image.png',
title: TranslationBase.of(context).emergencyService,
),
ServicesContainer(
onTap: () => Navigator.push(
context,
@ -202,7 +203,6 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
'assets/images/new-design/family_menu_icon_red.png',
title: 'My Family',
),
ServicesContainer(
onTap: () => Navigator.push(
context,
@ -214,7 +214,6 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
'assets/images/new-design/upcoming_icon_bottom_bar.png',
title: TranslationBase.of(context).todoList,
),
ServicesContainer(
onTap: () => Navigator.push(
context,
@ -265,7 +264,6 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
}
getAuthUser() async {
if (await this.sharedPref.getObject(USER_PROFILE) != null) {
var data = AuthenticatedUser.fromJson(
await this.sharedPref.getObject(USER_PROFILE));

@ -151,7 +151,9 @@ dependencies:
wakelock: ^0.1.4
after_layout: ^1.0.7
twilio_programmable_video: ^0.6.3+1
flutter_tts: ^1.2.6
flutter_tts:
git:
url: https://github.com/dlutton/flutter_tts.git
vibration: ^1.7.2
speech_to_text:
path: speech_to_text

Loading…
Cancel
Save