fix UI depend on the new design

This commit is contained in:
Rafeek-Khoudare
2025-07-23 14:08:57 +03:00
parent 15b6d642ff
commit 6f0e83b95b
3 changed files with 29 additions and 38 deletions

View File

@ -26,16 +26,11 @@ class BookingSystemPage extends StatelessWidget {
..add(GetPastBookingsEvent()),
)
],
child: DefaultScaffold(
appBar: BookingAppBar(),
child: Padding(
padding: EdgeInsets.symmetric(horizontal: 10),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
height: 20,
),
Expanded(
flex: 2,
child: CurrentBalanceWidget(
@ -61,7 +56,6 @@ class BookingSystemPage extends StatelessWidget {
)
],
),
),
));
}
}

View File

@ -10,10 +10,7 @@ class BookingAppBar extends StatelessWidget implements PreferredSizeWidget {
return AppBar(
backgroundColor: Colors.transparent,
centerTitle: true,
leading: IconButton(
onPressed: () => Navigator.pop(context),
icon: Icon(Icons.arrow_back_ios_new)),
title: Text(
leading: Text(
'Booking',
style: TextStyle(
color: ColorsManager.blueColor1,

View File

@ -39,7 +39,7 @@ class PastBookingsWidget extends StatelessWidget {
);
} else if (state is PastBookingLoadedState) {
return SizedBox(
height: deviceHeight(context) * 0.3,
height: deviceHeight(context) * 0.22,
child: state.pastBookings.isEmpty
? Text('You Dont Have past Bookings')
: ListView.separated(