fix settings and back button to meet the UI

This commit is contained in:
Rafeek-Khoudare
2025-07-22 10:58:30 +03:00
parent 2b110b7c91
commit b6d4084ca7
2 changed files with 75 additions and 44 deletions

View File

@ -20,6 +20,20 @@ class EditBookableSpaceButtonWidget extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Center( return Center(
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20),
boxShadow: [
BoxShadow(
offset: Offset.zero,
blurRadius: 3,
spreadRadius: 0,
color: ColorsManager.timePickerColor.withValues(
alpha: 0.3,
),
)
],
),
child: ElevatedButton( child: ElevatedButton(
onPressed: () { onPressed: () {
final bookableBloc = context.read<BookableSpacesBloc>(); final bookableBloc = context.read<BookableSpacesBloc>();
@ -45,8 +59,8 @@ class EditBookableSpaceButtonWidget extends StatelessWidget {
}, },
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
padding: EdgeInsets.zero, padding: EdgeInsets.zero,
minimumSize: const Size(40, 30), minimumSize: const Size(45, 30),
elevation: 1, elevation: 0,
), ),
child: SvgPicture.asset( child: SvgPicture.asset(
Assets.settings, Assets.settings,
@ -54,6 +68,7 @@ class EditBookableSpaceButtonWidget extends StatelessWidget {
color: ColorsManager.blue1, color: ColorsManager.blue1,
), ),
), ),
),
); );
} }
} }

View File

@ -24,10 +24,25 @@ class RowOfButtonsTitleWidget extends StatelessWidget {
children: [ children: [
Row( Row(
children: [ children: [
ElevatedButton( Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12),
boxShadow: [
BoxShadow(
offset: Offset.zero,
blurRadius: 3,
spreadRadius: 0,
color: ColorsManager.timePickerColor.withValues(
alpha: 0.3,
),
)
],
),
child: ElevatedButton(
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
padding: EdgeInsets.zero, padding: EdgeInsets.zero,
minimumSize: const Size(50, 40), minimumSize: const Size(50, 40),
elevation: 0,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12), borderRadius: BorderRadius.circular(12),
), ),
@ -39,6 +54,7 @@ class RowOfButtonsTitleWidget extends StatelessWidget {
onPressed: () { onPressed: () {
pageController.jumpToPage(1); pageController.jumpToPage(1);
}), }),
),
const SizedBox( const SizedBox(
width: 10, width: 10,
), ),