mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 14:19:40 +00:00
fix settings and back button to meet the UI
This commit is contained in:
@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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,
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user