|
|
|
|
@ -50,7 +50,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.all(10),
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Today's Statistics",
|
|
|
|
|
TranslationBase.of(context).todayStatistics,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
@ -76,7 +76,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
AppText("38",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 4),
|
|
|
|
|
AppText("Out-Patients",
|
|
|
|
|
AppText(TranslationBase.of(context).outPatients,
|
|
|
|
|
fontWeight: FontWeight.normal,
|
|
|
|
|
fontSize: SizeConfig.textMultiplier * 1.2,
|
|
|
|
|
color: Colors.grey[800]),
|
|
|
|
|
@ -103,12 +103,12 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: DashboardItemTexts(
|
|
|
|
|
"Arrived",
|
|
|
|
|
"23",
|
|
|
|
|
)),
|
|
|
|
|
TranslationBase.of(context).arrived,
|
|
|
|
|
"23",
|
|
|
|
|
)),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: DashboardItemTexts(
|
|
|
|
|
"Not Arrived",
|
|
|
|
|
TranslationBase.of(context).notArrived,
|
|
|
|
|
"23",
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -119,19 +119,20 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
CrossAxisAlignment.stretch,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: DashboardItemTexts(
|
|
|
|
|
"ER",
|
|
|
|
|
"23",
|
|
|
|
|
)),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: DashboardItemTexts(
|
|
|
|
|
"Walk-in",
|
|
|
|
|
"23",
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
child: DashboardItemTexts(
|
|
|
|
|
TranslationBase.of(context).er,
|
|
|
|
|
"23",
|
|
|
|
|
)),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: DashboardItemTexts(
|
|
|
|
|
|
|
|
|
|
TranslationBase.of(context).walkIn,
|
|
|
|
|
"23",
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
))
|
|
|
|
|
@ -148,7 +149,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: new DashboardItemIconText(
|
|
|
|
|
DoctorApp.home_icon,
|
|
|
|
|
"08",
|
|
|
|
|
"Lab Result",
|
|
|
|
|
TranslationBase.of(context).labResult,
|
|
|
|
|
backgroundColor: Colors.black45,
|
|
|
|
|
// valueFontColor: Colors.white,
|
|
|
|
|
// titleFontColor: Colors.white,
|
|
|
|
|
@ -160,7 +161,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: new DashboardItemIconText(
|
|
|
|
|
DoctorApp.home_icon,
|
|
|
|
|
"10",
|
|
|
|
|
"Radiology",
|
|
|
|
|
TranslationBase.of(context).radiology,
|
|
|
|
|
backgroundColor: Colors.black45,
|
|
|
|
|
// valueFontColor: Colors.white,
|
|
|
|
|
// titleFontColor: Colors.white,
|
|
|
|
|
@ -171,7 +172,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: new DashboardItemIconText(
|
|
|
|
|
DoctorApp.home_icon,
|
|
|
|
|
"05",
|
|
|
|
|
"Referral",
|
|
|
|
|
TranslationBase.of(context).referral,
|
|
|
|
|
backgroundColor: Colors.black45,
|
|
|
|
|
// valueFontColor: Colors.white,
|
|
|
|
|
// titleFontColor: Colors.white,
|
|
|
|
|
@ -190,7 +191,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: new DashboardItemIconText(
|
|
|
|
|
DoctorApp.home_icon,
|
|
|
|
|
"23",
|
|
|
|
|
"In-Patient",
|
|
|
|
|
TranslationBase.of(context).inPatient,
|
|
|
|
|
showBorder: true,
|
|
|
|
|
backgroundColor: Colors.red[900],
|
|
|
|
|
),
|
|
|
|
|
@ -200,7 +201,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: new DashboardItemIconText(
|
|
|
|
|
DoctorApp.home_icon,
|
|
|
|
|
"23",
|
|
|
|
|
"Operations",
|
|
|
|
|
TranslationBase.of(context).operations,
|
|
|
|
|
showBorder: true,
|
|
|
|
|
backgroundColor: Colors.red[900],
|
|
|
|
|
)),
|
|
|
|
|
@ -212,7 +213,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: EdgeInsets.all(10),
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Patient Services",
|
|
|
|
|
TranslationBase.of(context).patientServices,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
alignment: Alignment.centerLeft,
|
|
|
|
|
@ -229,7 +230,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: DashboardItemIconText(
|
|
|
|
|
DoctorApp.home_icon,
|
|
|
|
|
"",
|
|
|
|
|
"Search Patient",
|
|
|
|
|
TranslationBase.of(context).searchPatient,
|
|
|
|
|
showBorder: true,
|
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
|
valueFontColor: Colors.black,
|
|
|
|
|
@ -259,7 +260,7 @@ class _DashboardScreenState extends State<DashboardScreen> {
|
|
|
|
|
child: DashboardItemIconText(
|
|
|
|
|
DoctorApp.home_icon,
|
|
|
|
|
"",
|
|
|
|
|
"Doctor Reply",
|
|
|
|
|
TranslationBase.of(context).doctorReply,
|
|
|
|
|
showBorder: true,
|
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
|
valueFontColor: Colors.black,
|
|
|
|
|
|