|
|
|
|
@ -71,38 +71,38 @@ class _HomeReportPageState extends State<HomeReportPage> 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(
|
|
|
|
|
|