You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.6 KiB
Dart
69 lines
2.6 KiB
Dart
4 years ago
|
import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart';
|
||
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
||
|
import 'package:flutter/cupertino.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:hexcolor/hexcolor.dart';
|
||
|
|
||
|
import 'home_health_care_page.dart';
|
||
|
|
||
|
class HomeHealthCareIndexPage extends StatelessWidget {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return AppScaffold(
|
||
|
isShowAppBar: true,
|
||
|
appBarTitle: "Service Information",
|
||
|
body: SingleChildScrollView(
|
||
|
padding: EdgeInsets.all(12),
|
||
|
child: Column(
|
||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||
|
children: <Widget>[
|
||
|
Texts(
|
||
|
"Water Tracker:",
|
||
|
fontWeight: FontWeight.normal,
|
||
|
fontSize: 25,
|
||
|
color: Hexcolor("#60686b"),
|
||
|
),
|
||
|
SizedBox(
|
||
|
height: 12,
|
||
|
),
|
||
|
Texts(
|
||
|
"This service is designed to help you to set drinking water goals and track the volume of water you are drinking on a daily basis. This service allows for schedule reminders and offers a basic statistical analysis of the amount of what you have consumed over the course of a day, week or month.",
|
||
|
fontWeight: FontWeight.normal,
|
||
|
fontSize: 17,
|
||
|
),
|
||
|
SizedBox(
|
||
|
height: 22,
|
||
|
),
|
||
|
Center(
|
||
|
child: Image.asset(
|
||
|
'assets/images/AlHabibMedicalService/Wifi-AR.png')),
|
||
|
SizedBox(
|
||
|
height: 77,
|
||
|
),
|
||
|
],
|
||
|
)),
|
||
|
bottomSheet: Container(
|
||
|
height: MediaQuery.of(context).size.height * 0.10,
|
||
|
width: double.infinity,
|
||
|
child: Column(
|
||
|
children: <Widget>[
|
||
|
Container(
|
||
|
width: MediaQuery.of(context).size.width * 0.9,
|
||
|
child: SecondaryButton(
|
||
|
onTap: () => Navigator.push(
|
||
|
context,
|
||
|
FadePage(
|
||
|
page: HomeHealthCarePage(),
|
||
|
),
|
||
|
),
|
||
|
label: "Home Health Care Page",
|
||
|
textColor: Theme.of(context).backgroundColor),
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
));
|
||
|
}
|
||
|
}
|