From 672d0b7e8cc287ea92396ccaf85cb68f16f39b7c Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Wed, 15 May 2024 10:27:16 +0300 Subject: [PATCH] InPatient medical report enabled --- .../medical/reports/report_home_page.dart | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/lib/pages/medical/reports/report_home_page.dart b/lib/pages/medical/reports/report_home_page.dart index 95225b39..3a2c1065 100644 --- a/lib/pages/medical/reports/report_home_page.dart +++ b/lib/pages/medical/reports/report_home_page.dart @@ -71,38 +71,38 @@ class _HomeReportPageState extends State with SingleTickerProvid body: Container( child: Column( children: [ - // TabBar( - // controller: _tabController_new, - // indicatorWeight: 3.0, - // indicatorSize: TabBarIndicatorSize.tab, - // labelColor: Color(0xff2B353E), - // unselectedLabelColor: Color(0xff575757), - // labelPadding: EdgeInsets.only(top: 15, bottom: 13, left: 20, right: 20), - // labelStyle: TextStyle( - // fontSize: 16, - // fontWeight: FontWeight.w600, - // letterSpacing: -0.48, - // ), - // unselectedLabelStyle: TextStyle( - // fontSize: 16, - // fontWeight: FontWeight.w600, - // letterSpacing: -0.48, - // ), - // onTap: (int value) { - // print(value); - // setState(() {}); - // }, - // tabs: [ - // Text( - // TranslationBase.of(context).outpatient, - // style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins'), - // ), - // Text( - // TranslationBase.of(context).inPatient, - // style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins'), - // ), - // ], - // ), + TabBar( + controller: _tabController_new, + indicatorWeight: 3.0, + indicatorSize: TabBarIndicatorSize.tab, + labelColor: Color(0xff2B353E), + unselectedLabelColor: Color(0xff575757), + labelPadding: EdgeInsets.only(top: 15, bottom: 13, left: 20, right: 20), + labelStyle: TextStyle( + fontSize: 16, + fontWeight: FontWeight.w600, + letterSpacing: -0.48, + ), + unselectedLabelStyle: TextStyle( + fontSize: 16, + fontWeight: FontWeight.w600, + letterSpacing: -0.48, + ), + onTap: (int value) { + print(value); + setState(() {}); + }, + tabs: [ + Text( + TranslationBase.of(context).outpatient, + style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins'), + ), + Text( + TranslationBase.of(context).inPatient, + style: TextStyle(fontFamily: projectViewModel.isArabic ? 'Cairo' : 'Poppins'), + ), + ], + ), if (model.user != null) Expanded( child: TabBarView(