|
|
@ -23,6 +23,7 @@ import 'package:diplomaticquarterapp/routes.dart';
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
|
|
|
|
import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
|
|
|
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
|
|
|
import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/data_display/services)contaniner.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/data_display/services)contaniner.dart';
|
|
|
|
|
|
|
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
|
|
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
@ -33,7 +34,7 @@ class AllHabibMedicalService extends StatefulWidget {
|
|
|
|
//TODO
|
|
|
|
//TODO
|
|
|
|
final Function goToMyProfile;
|
|
|
|
final Function goToMyProfile;
|
|
|
|
|
|
|
|
|
|
|
|
AllHabibMedicalService({Key key, this.goToMyProfile});
|
|
|
|
AllHabibMedicalService({Key key, this.goToMyProfile});
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
_AllHabibMedicalServiceState createState() => _AllHabibMedicalServiceState();
|
|
|
|
_AllHabibMedicalServiceState createState() => _AllHabibMedicalServiceState();
|
|
|
@ -66,38 +67,51 @@ class _AllHabibMedicalServiceState extends State<AllHabibMedicalService> {
|
|
|
|
shrinkWrap: true,
|
|
|
|
shrinkWrap: true,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
|
|
|
|
margin: EdgeInsets.all(8),
|
|
|
|
width: double.infinity,
|
|
|
|
width: double.infinity,
|
|
|
|
height: 190,
|
|
|
|
height: 150,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
image: DecorationImage(
|
|
|
|
image: DecorationImage(
|
|
|
|
image: ExactAssetImage('assets/images/timeline_bg.png'),
|
|
|
|
image: ExactAssetImage('assets/images/Weather_img.png'),
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
borderRadius: BorderRadius.circular(8.0)),
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.0),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.0),
|
|
|
|
child: Column(
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
Text(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
'Health Weather Indicators',
|
|
|
|
children: [
|
|
|
|
style: TextStyle(
|
|
|
|
Texts(
|
|
|
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
|
|
|
.healthWeatherIndicators,
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
fontSize: 22.0,
|
|
|
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Texts(
|
|
|
|
SizedBox(
|
|
|
|
TranslationBase.of(context).healthTipsBasedOnCurrentWeather,
|
|
|
|
height: 35.0,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Text(
|
|
|
|
|
|
|
|
'Health Tips Based On Current Weather',
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
|
|
|
|
fontSize: 14,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
Expanded(
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Image.asset('assets/images/Weather_ico.png',width: 80,height: 80,),
|
|
|
|
|
|
|
|
Texts(
|
|
|
|
|
|
|
|
TranslationBase.of(context).moreDetails,
|
|
|
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
|
|
|
decoration: TextDecoration.underline,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
]),
|
|
|
|
)
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
ServicesContainer(
|
|
|
|
ServicesContainer(
|
|
|
|