From 29334a9ef01dbde505ca7f04b3e4cd0f8969acff Mon Sep 17 00:00:00 2001 From: sultan khan Date: Thu, 6 Feb 2025 10:38:15 +0300 Subject: [PATCH] leave balance page fix. --- lib/ui/leave_balance/leave_balance_screen.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/ui/leave_balance/leave_balance_screen.dart b/lib/ui/leave_balance/leave_balance_screen.dart index 447767f..85354f9 100644 --- a/lib/ui/leave_balance/leave_balance_screen.dart +++ b/lib/ui/leave_balance/leave_balance_screen.dart @@ -64,7 +64,7 @@ class _LeaveBalanceState extends State { context, title: LocaleKeys.leaveBalance.tr(), ), - body: Column( + body:SingleChildScrollView(child:Column( children: [ Padding( padding: const EdgeInsets.all(21.0), @@ -76,8 +76,10 @@ class _LeaveBalanceState extends State { : (absenceTransList!.isEmpty ? Utils.getNoDataWidget(context).paddingOnly(top: 50) : ListView( - physics: const BouncingScrollPhysics(), + shrinkWrap: true, + physics: const NeverScrollableScrollPhysics(), padding: const EdgeInsets.all(21), + children: [ // BalancesDashboardWidget(LocaleKeys.currentLeaveBalance.tr(), true, selectedEmp: employeeId, showLoading: false), // 12.height, @@ -113,7 +115,7 @@ class _LeaveBalanceState extends State { ], )), ], - ), + )), floatingActionButton: Container( height: 54, width: 54,