|
|
|
|
@ -90,31 +90,30 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
"Absent": getTimeCardSummaryList?.aBSENTDAYS != null ? getTimeCardSummaryList!.aBSENTDAYS!.toDouble() : 0,
|
|
|
|
|
};
|
|
|
|
|
return Scaffold(
|
|
|
|
|
appBar: AppBar(
|
|
|
|
|
backgroundColor: MyColors.white,
|
|
|
|
|
leading: IconButton(
|
|
|
|
|
icon: const Icon(
|
|
|
|
|
Icons.arrow_back_ios,
|
|
|
|
|
color: MyColors.backgroundBlackColor,
|
|
|
|
|
),
|
|
|
|
|
onPressed: () => Navigator.pop(context),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
backgroundColor: Colors.white,
|
|
|
|
|
backgroundColor: MyColors.backgroundColor,
|
|
|
|
|
body: ListView(
|
|
|
|
|
scrollDirection: Axis.vertical,
|
|
|
|
|
children: [
|
|
|
|
|
Column(
|
|
|
|
|
children: [
|
|
|
|
|
20.height,
|
|
|
|
|
Column(
|
|
|
|
|
Container(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.attendance.tr().toText24(isBold: true, color: MyColors.darkIconColor),
|
|
|
|
|
IconButton(
|
|
|
|
|
icon: const Icon(
|
|
|
|
|
Icons.arrow_back_ios,
|
|
|
|
|
color: MyColors.backgroundBlackColor,
|
|
|
|
|
),
|
|
|
|
|
onPressed: () => Navigator.pop(context),
|
|
|
|
|
),
|
|
|
|
|
20.height,
|
|
|
|
|
LocaleKeys.attendance.tr().toText24(isBold: true, color: MyColors.grey3AColor),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
"${DateFormat("MMMM-yyyy").format(formattedDate)}".toText16(color: MyColors.grey3AColor),
|
|
|
|
|
const Icon(Icons.keyboard_arrow_down_rounded, color: MyColors.grey3AColor),
|
|
|
|
|
"${DateFormat("MMMM-yyyy").format(formattedDate)}".toText16(color: MyColors.greyACColor),
|
|
|
|
|
const Icon(Icons.keyboard_arrow_down_rounded, color: MyColors.greyACColor),
|
|
|
|
|
],
|
|
|
|
|
).onPress(() async {
|
|
|
|
|
showMonthPicker(
|
|
|
|
|
@ -127,15 +126,15 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
searchMonth = getMonth(selectedDate.month);
|
|
|
|
|
searchYear = selectedDate.year;
|
|
|
|
|
formattedDate = selectedDate; //DateFormat('MMMM-yyyy').format(selectedDate);
|
|
|
|
|
// _calendarController.selectedDate = formattedDate;
|
|
|
|
|
callTimeCardAndHourDetails(selectedDate.day, searchMonth, searchYear);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 21),
|
|
|
|
|
}),
|
|
|
|
|
18.height,
|
|
|
|
|
AspectRatio(aspectRatio: 333 / 270, child: calendarWidget()).paddingOnly(left: 21, right: 21),
|
|
|
|
|
AspectRatio(aspectRatio: 304 / 244, child: calendarWidget()),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 21, top:40),
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
@ -148,18 +147,19 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
optionUI(LocaleKeys.shortageHour.tr(), "${getTimeCardSummaryList?.sHORTAGEHRS != null ? getTimeCardSummaryList!.sHORTAGEHRS : 0}"),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 21),
|
|
|
|
|
35.height,
|
|
|
|
|
38.height,
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 227,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
borderRadius: const BorderRadius.only(topLeft: Radius.circular(25), topRight: Radius.circular(25)),
|
|
|
|
|
borderRadius: const BorderRadius.only(
|
|
|
|
|
topLeft: Radius.circular(25.0),
|
|
|
|
|
topRight: Radius.circular(25.0),
|
|
|
|
|
),
|
|
|
|
|
boxShadow: [
|
|
|
|
|
BoxShadow(
|
|
|
|
|
offset: const Offset(0, 2),
|
|
|
|
|
offset: const Offset(0, 1),
|
|
|
|
|
blurRadius: 26,
|
|
|
|
|
color: MyColors.darkColor.withOpacity(0.1),
|
|
|
|
|
color: Color(0xff000014).withOpacity(0.1),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -168,12 +168,8 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Column(
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.attendance.tr().toText12(isBold: true, color: MyColors.grey3AColor),
|
|
|
|
|
LocaleKeys.stats.tr().toText24(isBold: true, color: MyColors.grey3AColor),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, top: 29, bottom: 36, right: 23),
|
|
|
|
|
"${LocaleKeys.attendance.tr()} ${LocaleKeys.stats.tr()}".toSectionHeading(),
|
|
|
|
|
29.height,
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
@ -184,12 +180,11 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
borderRadius: BorderRadius.circular(100),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
margin: const EdgeInsets.only(left: 5, right: 5),
|
|
|
|
|
child: "${LocaleKeys.present.tr()} ${getTimeCardSummaryList?.aTTENDEDDAYS}".toText16(isBold: true, color: MyColors.lightGreenColor),
|
|
|
|
|
),
|
|
|
|
|
7.width,
|
|
|
|
|
"${LocaleKeys.present.tr()} ${getTimeCardSummaryList?.aTTENDEDDAYS != null ? getTimeCardSummaryList?.aTTENDEDDAYS : 0}".toText16(
|
|
|
|
|
isBold: true, color: MyColors.lightGreenColor),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 23),
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
@ -201,23 +196,16 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
borderRadius: BorderRadius.circular(100),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
margin: const EdgeInsets.only(left: 5, right: 5),
|
|
|
|
|
child: "${LocaleKeys.absent.tr()} ${getTimeCardSummaryList?.aBSENTDAYS}".toText16(
|
|
|
|
|
isBold: true,
|
|
|
|
|
color: MyColors.backgroundBlackColor,
|
|
|
|
|
),
|
|
|
|
|
7.width,
|
|
|
|
|
"${LocaleKeys.absent.tr()} ${getTimeCardSummaryList?.aBSENTDAYS != null ? getTimeCardSummaryList?.aBSENTDAYS : 0 }".toText16(
|
|
|
|
|
isBold: true, color: MyColors.backgroundBlackColor,
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, top: 8, right: 23),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
width: 169,
|
|
|
|
|
height: 170,
|
|
|
|
|
],
|
|
|
|
|
).expanded,
|
|
|
|
|
44.width,
|
|
|
|
|
AspectRatio(aspectRatio: 1/1,
|
|
|
|
|
child: PieChart(
|
|
|
|
|
dataMap: dataMap,
|
|
|
|
|
animationDuration: const Duration(milliseconds: 800),
|
|
|
|
|
@ -243,11 +231,9 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
color: MyColors.white,
|
|
|
|
|
)),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 65, top: 27, right: 21, bottom: 28),
|
|
|
|
|
).expanded,
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
).paddingOnly(left: 21, right: 21, top: 29, bottom: 28),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -260,14 +246,14 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
return AspectRatio(
|
|
|
|
|
aspectRatio: 1 / 1,
|
|
|
|
|
child: Container(
|
|
|
|
|
padding: const EdgeInsets.only(top: 10, left: 8, right: 8, bottom: 10),
|
|
|
|
|
padding: const EdgeInsets.only(top: 10, left: 8, right: 8, bottom: 5),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
|
borderRadius: BorderRadius.circular(15),
|
|
|
|
|
boxShadow: [
|
|
|
|
|
BoxShadow(
|
|
|
|
|
offset: const Offset(0, 1),
|
|
|
|
|
blurRadius: 15,
|
|
|
|
|
blurRadius: 26,
|
|
|
|
|
color: MyColors.darkColor.withOpacity(0.1),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
@ -304,14 +290,6 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
dayFormat: 'EEE',
|
|
|
|
|
showTrailingAndLeadingDates: false,
|
|
|
|
|
showAgenda: false,
|
|
|
|
|
//navigationDirection: MonthNavigationDirection.vertical,
|
|
|
|
|
monthCellStyle: MonthCellStyle(
|
|
|
|
|
textStyle: TextStyle(
|
|
|
|
|
fontStyle: FontStyle.normal,
|
|
|
|
|
fontSize: 13,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
viewHeaderStyle: const ViewHeaderStyle(
|
|
|
|
|
dayTextStyle: TextStyle(color: MyColors.grey3AColor, fontSize: 13, fontWeight: FontWeight.w600),
|
|
|
|
|
@ -365,7 +343,7 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
child: Text(
|
|
|
|
|
"$val",
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
fontSize: 13,
|
|
|
|
|
fontSize: 12,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
color: MyColors.white,
|
|
|
|
|
),
|
|
|
|
|
@ -398,8 +376,6 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return Container(
|
|
|
|
|
margin: const EdgeInsets.all(4),
|
|
|
|
|
@ -419,15 +395,11 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
"$val",
|
|
|
|
|
style: const TextStyle(
|
|
|
|
|
fontSize: 13,
|
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
color: Color(0xff1F2428),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
// return Container(
|
|
|
|
|
// alignment: Alignment.center,
|
|
|
|
|
// child: Text("$val"),
|
|
|
|
|
// );
|
|
|
|
|
} else {
|
|
|
|
|
return const SizedBox();
|
|
|
|
|
}
|
|
|
|
|
@ -468,11 +440,11 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
return Column(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
width: 75,
|
|
|
|
|
width: 49,
|
|
|
|
|
height: 7,
|
|
|
|
|
margin: const EdgeInsets.symmetric(vertical: 10),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.circular(20),
|
|
|
|
|
borderRadius: BorderRadius.circular(25),
|
|
|
|
|
color: MyColors.darkGreyColor,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -483,196 +455,146 @@ class _MonthlyAttendanceScreenState extends State<MonthlyAttendanceScreen> {
|
|
|
|
|
itemBuilder: (_, i) => Container(
|
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.vertical(
|
|
|
|
|
top: Radius.circular(35.0),
|
|
|
|
|
top: Radius.circular(25.0),
|
|
|
|
|
),
|
|
|
|
|
color: MyColors.backgroundBlackColor,
|
|
|
|
|
),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
child: "${DateFormat("MMMM-dd-yyyy").format(dateTime1).replaceAll('-', " ")}".toText24(isBold: true, color: Colors.white),
|
|
|
|
|
).paddingOnly(top: 26, left: 21, right: 21),
|
|
|
|
|
Container(
|
|
|
|
|
child: LocaleKeys.attendanceDetails.tr().toText16(color: MyColors.greyACColor).paddingOnly(left: 21, bottom: 16),
|
|
|
|
|
),
|
|
|
|
|
Center(
|
|
|
|
|
child: CircularStepProgressBar(
|
|
|
|
|
"${DateFormat("MMMM-dd-yyyy").format(dateTime1).replaceAll('-', " ")}".toText24(isBold: true, color: Colors.white),
|
|
|
|
|
LocaleKeys.attendanceDetails.tr().toText16(color: MyColors.greyACColor),
|
|
|
|
|
12.height,
|
|
|
|
|
CircularStepProgressBar(
|
|
|
|
|
totalSteps: 16 * 4,
|
|
|
|
|
currentStep: percentage,
|
|
|
|
|
width: 210,
|
|
|
|
|
height: 210,
|
|
|
|
|
width: 224,
|
|
|
|
|
height: 236,
|
|
|
|
|
selectedColor: MyColors.gradiantEndColor,
|
|
|
|
|
unselectedColor: MyColors.grey70Color,
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
"${getScheduleShiftsDetailsList!.pERCENTAGE}".toText44(color: Colors.white, isBold: true),
|
|
|
|
|
LocaleKeys.completed.tr().toText11(color: MyColors.greyACColor),
|
|
|
|
|
19.height,
|
|
|
|
|
28.height,
|
|
|
|
|
LocaleKeys.shiftTime.tr().toText11(color: MyColors.greyACColor),
|
|
|
|
|
"${getScheduleShiftsDetailsList!.sHTNAME}".toText22(color: Colors.white, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
padding: const EdgeInsets.only(top: 20, bottom: 20),
|
|
|
|
|
),
|
|
|
|
|
).center,
|
|
|
|
|
).center,
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 21, top: 27, bottom: 37),
|
|
|
|
|
Stack(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
height: 5,
|
|
|
|
|
padding: const EdgeInsets.only(top: 24, bottom: 24),
|
|
|
|
|
color: MyColors.backgroundBlackColor,
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
decoration: const BoxDecoration(borderRadius: BorderRadius.only(topLeft: Radius.circular(25), topRight: Radius.circular(25)), color: Colors.white),
|
|
|
|
|
padding: const EdgeInsets.only(left: 21, right: 21, top: 28, bottom: 24),
|
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
|
borderRadius: BorderRadius.only(topLeft: Radius.circular(25), topRight: Radius.circular(25)), color: Colors.white),
|
|
|
|
|
padding: const EdgeInsets.only(left: 31, right: 31, top: 30, bottom: 29),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
margin: const EdgeInsets.only(right: 30, left: 15),
|
|
|
|
|
child: Column(
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.actualCheckIn.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
LocaleKeys.actualCheckIn.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getScheduleShiftsDetailsList!.sHTACTUALSTARTTIME}" != ""
|
|
|
|
|
? "${getScheduleShiftsDetailsList!.sHTACTUALSTARTTIME}".toText22(color: Colors.black, isBold: true)
|
|
|
|
|
: "__".toText22(color: Colors.black, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
40.width,
|
|
|
|
|
).expanded,
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.actualCheckOut.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
LocaleKeys.actualCheckOut.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getScheduleShiftsDetailsList!.sHTACTUALENDTIME}" != ""
|
|
|
|
|
? "${getScheduleShiftsDetailsList!.sHTACTUALENDTIME}".toText22(color: Colors.black, isBold: true)
|
|
|
|
|
: "__".toText22(color: Colors.black, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
).expanded,
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
25.height,
|
|
|
|
|
const Divider(
|
|
|
|
|
height: 1,
|
|
|
|
|
thickness: 1,
|
|
|
|
|
color: MyColors.whiteColor,
|
|
|
|
|
color: MyColors.lightGreyEFColor,
|
|
|
|
|
),
|
|
|
|
|
25.height,
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
margin: const EdgeInsets.only(right: 30, left: 15),
|
|
|
|
|
child: Column(
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.approvedCheckIn.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
LocaleKeys.approvedCheckIn.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getScheduleShiftsDetailsList!.aPPROVEDSTARTTIME}" != ""
|
|
|
|
|
? "${getScheduleShiftsDetailsList!.aPPROVEDSTARTTIME}".toText22(color: MyColors.greenColor, isBold: true)
|
|
|
|
|
: "__".toText22(color: MyColors.greenColor, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
30.width,
|
|
|
|
|
).expanded,
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.approvedCheckOut.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
LocaleKeys.approvedCheckOut.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getScheduleShiftsDetailsList!.aPPROVEDENDTIME}" != ""
|
|
|
|
|
? "${getScheduleShiftsDetailsList!.aPPROVEDENDTIME}".toText22(color: MyColors.greenColor, isBold: true)
|
|
|
|
|
: "__".toText22(color: MyColors.greenColor, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
).expanded,
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
25.height,
|
|
|
|
|
const Divider(
|
|
|
|
|
height: 1,
|
|
|
|
|
thickness: 1,
|
|
|
|
|
color: MyColors.whiteColor,
|
|
|
|
|
color: MyColors.lightGreyEFColor,
|
|
|
|
|
),
|
|
|
|
|
25.height,
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
margin: const EdgeInsets.only(right: 30, left: 15),
|
|
|
|
|
child: Column(
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.lateIn.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
LocaleKeys.lateIn.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getDayHoursTypeDetailsList[index].lATEINHRS}".toText22(color: MyColors.redColor, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
80.width,
|
|
|
|
|
).expanded,
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.excess.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
"${getDayHoursTypeDetailsList[index].eXCESSHRS}".toText22(color: Colors.black, isBold: true),
|
|
|
|
|
LocaleKeys.excess.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getDayHoursTypeDetailsList[index].eXCESSHRS}".toText22(color: MyColors.backgroundBlackColor, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
).expanded,
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
25.height,
|
|
|
|
|
const Divider(
|
|
|
|
|
height: 1,
|
|
|
|
|
thickness: 1,
|
|
|
|
|
color: MyColors.whiteColor,
|
|
|
|
|
color: MyColors.lightGreyEFColor,
|
|
|
|
|
),
|
|
|
|
|
25.height,
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Container(
|
|
|
|
|
margin: const EdgeInsets.only(right: 30, left: 15),
|
|
|
|
|
child: Column(
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.shortage.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
"${getDayHoursTypeDetailsList[index].sHORTAGEHRS}".toText22(color: Colors.black, isBold: true),
|
|
|
|
|
LocaleKeys.shortage.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getDayHoursTypeDetailsList[index].sHORTAGEHRS}".toText22(color: MyColors.backgroundBlackColor, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
80.width,
|
|
|
|
|
).expanded,
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.earlyOut.tr().toText11(
|
|
|
|
|
color: MyColors.grey67Color,
|
|
|
|
|
),
|
|
|
|
|
8.height,
|
|
|
|
|
LocaleKeys.earlyOut.tr().toText11(color: MyColors.grey67Color,),
|
|
|
|
|
"${getDayHoursTypeDetailsList[index].eARLYOUTHRS}".toText22(color: Colors.black, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
).expanded,
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
|